freebsd-dev/sys/security
Robert Watson a96acd1ace Introduce a condition variable to avoid returning EBUSY when
the MAC policy list is busy during a load or unload attempt.
We assert no locks held during the cv wait, meaning we should
be fairly deadlock-safe.  Because of the cv model and busy
count, it's possible for a cv waiter waiting for exclusive
access to the policy list to be starved by active and
long-lived access control/labeling events.  For now, we
accept that as a necessary tradeoff.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-13 15:47:09 +00:00
..
lomac Regularize the vop_stdlock'ing protocol across all the filesystems 2002-10-14 03:20:36 +00:00
mac Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_biba Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_bsdextended Update MAC modules for changes in arguments for exec MAC policy 2002-11-08 18:04:36 +00:00
mac_ifoff License and wording updates: NAI has authorized the removal of clause 2002-11-04 01:53:12 +00:00
mac_mls Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_none Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_partition Update MAC modules for changes in arguments for exec MAC policy 2002-11-08 18:04:36 +00:00
mac_seeotheruids License and wording updates: NAI has authorized the removal of clause 2002-11-04 01:53:12 +00:00
mac_stub Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_test Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00