Date: Sun, 21 Jul 2002 12:57:14 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 14625 for review Message-ID: <200207211957.g6LJvEMu096172@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14625 Change 14625 by rwatson@rwatson_curry on 2002/07/21 12:56:41 Use readdir check for ibcs2 readdir system calls, not search. Affected files ... .. //depot/projects/trustedbsd/mac/sys/i386/ibcs2/ibcs2_misc.c#5 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/i386/ibcs2/ibcs2_misc.c#5 (text+ko) ==== @@ -352,8 +352,7 @@ } #ifdef MAC - /* Use the process's credentials to check directory search MAC. */ - error = mac_cred_check_search_vnode(td->td_proc->p_ucred, vp); + error = mac_cred_check_readdir_vnode(td->td_proc->p_ucred, vp); if (error) goto out; #endif /* MAC */ @@ -513,8 +512,7 @@ } #ifdef MAC - /* Use the process's credentials to check directory search MAC. */ - error = mac_cred_check_search_vnode(td->td_proc->p_ucred, vp); + error = mac_cred_check_readdir_vnode(td->td_proc->p_ucred, vp); if (error) goto out; #endif /* MAC */ 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?200207211957.g6LJvEMu096172>