Date: Mon, 22 Jan 2007 16:06:49 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 113348 for review Message-ID: <200701221606.l0MG6nMq027526@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113348 Change 113348 by millert@millert_macbook on 2007/01/22 16:06:42 Use vfs_context_ucred() instead of pulling the ucred out of the proc structure. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/kern_exec.c#6 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/kern_exec.c#6 (text+ko) ==== @@ -1410,7 +1410,8 @@ } #ifdef MAC - error = mac_vnode_check_exec(p->p_ucred, vp, imgp->ip_execlabelp); + error = mac_vnode_check_exec(vfs_context_ucred(imgp->ip_vfs_context), + vp, imgp); if (error) return (error); #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701221606.l0MG6nMq027526>