Date: Fri, 22 Apr 2005 18:49:31 +0000 (UTC) From: Tom Rhodes <trhodes@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c Message-ID: <200504221849.j3MInV9E087838@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
trhodes 2005-04-22 18:49:31 UTC
FreeBSD src repository
Modified files:
sys/security/mac_bsdextended mac_bsdextended.c
Log:
Add locking support to mac_bsdextended:
- Introduce a global mutex, mac_bsdextended_mtx, to protect the rule
array and hold this mutex over use and modification of the rule array
and rules.
- Re-order and clean up sysctl_rule so that copyin/copyout/update happen
in the right order (suggested by: jhb done by rwatson).
Revision Changes Path
1.25 +67 -37 src/sys/security/mac_bsdextended/mac_bsdextended.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504221849.j3MInV9E087838>
