Date: Thu, 22 Aug 2002 13:50:49 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 16438 for review Message-ID: <200208222050.g7MKonc2056756@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16438 Change 16438 by green@green_laptop_2 on 2002/08/22 13:50:16 For Lomac, don't disallow opening for read under any extra circumstances. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#2 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#2 (text+ko) ==== @@ -1916,11 +1916,6 @@ subj = SLOT(&cred->cr_label); obj = SLOT(vnodelabel); - /* XXX privilege override for admin? */ - if (acc_mode & (VREAD | VEXEC | VSTAT)) { - if (!mac_biba_dominate_single(obj, subj)) - return (EACCES); - } if (acc_mode & (VWRITE | VAPPEND | VADMIN)) { if (!mac_biba_dominate_single(subj, obj)) return (EACCES); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208222050.g7MKonc2056756>