Date: Wed, 12 Nov 2003 14:19:15 -0800 (PST) From: Robert Watson <rwatson@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: <200311122219.hACMJG7t026601@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2003/11/12 14:19:15 PST
FreeBSD src repository
Modified files:
sys/kern kern_mac.c
Log:
Mark __mac_get_pid() as MPSAFE in the comment, as it runs without
Giant and is also MPSAFE.
Push Giant further down into __mac_get_fd() and __mac_set_fd(),
grabbing it only for constrained regions dealing with VFS, and
dropping it entirely for operations related to labeling of pipes.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Revision Changes Path
1.106 +15 -37 src/sys/kern/kern_mac.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311122219.hACMJG7t026601>
