Date: Tue, 29 Jul 2008 10:34:37 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 146198 for review Message-ID: <200807291034.m6TAYbaW097432@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146198 Change 146198 by trasz@trasz_traszkan on 2008/07/29 10:33:51 Fix granting VSTAT to superuser. Affected files ... .. //depot/projects/soc2008/trasz_nfs4acl/sys/kern/subr_acl_nfs4.c#11 edit Differences ... ==== //depot/projects/soc2008/trasz_nfs4acl/sys/kern/subr_acl_nfs4.c#11 (text+ko) ==== @@ -228,7 +228,7 @@ if ((acc_mode & VADMIN) && !priv_check_cred(cred, PRIV_VFS_ADMIN, 0)) priv_granted |= VADMIN; - if (priv_granted != 0) + if ((acc_mode & VSTAT) && !priv_check_cred(cred, PRIV_VFS_READ, 0)) priv_granted |= VSTAT; if ((acc_mode & priv_granted) == acc_mode) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807291034.m6TAYbaW097432>