Date: Tue, 4 Oct 2005 14:32:59 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mac.c Message-ID: <200510041432.j94EWxVu012003@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2005-10-04 14:32:59 UTC FreeBSD src repository Modified files: sys/kern kern_mac.c Log: Standard Giant push down operations for the Mandatory Access Control (MAC) framework. This makes Giant protection around MAC operations which inter- act with VFS conditional, based on the MPSAFE status of the file system. Affected the following syscalls: o __mac_get_fd o __mac_get_file o __mac_get_link o __mac_set_fd o __mac_set_file o __mac_set_link -Drop Giant all together in __mac_set_proc because the mac_cred_mmapped_drop_perms_recurse routine no longer requires it. -Move conditional Giant aquisitions to after label allocation routines. -Move the conditional release of Giant to before label de-allocation routines. Discussed with: rwatson Revision Changes Path 1.119 +27 -34 src/sys/kern/kern_mac.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510041432.j94EWxVu012003>