Date: Sat, 9 Sep 2006 09:57:37 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 105878 for review Message-ID: <200609090957.k899vbhA023814@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105878 Change 105878 by rwatson@rwatson_sesame on 2006/09/09 09:57:24 Make svr4's privilege use for PRIV_VFS_ADMIN consistent with all other PRIV_VFS_ADMIN instances in the kernel. Affected files ... .. //depot/projects/trustedbsd/priv/sys/compat/svr4/svr4_fcntl.c#3 edit Differences ... ==== //depot/projects/trustedbsd/priv/sys/compat/svr4/svr4_fcntl.c#3 (text+ko) ==== @@ -280,7 +280,8 @@ goto out; if (td->td_ucred->cr_uid != vattr.va_uid && - (error = priv_check(td, PRIV_VFS_ADMIN)) != 0) + (error = priv_check_cred(td->td_ucred, PRIV_VFS_ADMIN, + SUSER_ALLOWJAIL)) != 0) goto out; if ((error = vn_start_write(vp, &mp, V_WAIT | PCATCH)) != 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609090957.k899vbhA023814>