cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c
Tom Rhodes
trhodes at FreeBSD.org
Fri Apr 22 11:49:31 PDT 2005
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
More information about the cvs-src
mailing list