freebsd-skq/sys/security/mac
rwatson 9dde910437 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
..
mac_framework.c Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_framework.h Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_internal.h Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_net.c Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_pipe.c Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_policy.h Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_process.c Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_syscalls.c Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_system.c Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00
mac_vfs.c Introduce a condition variable to avoid returning EBUSY when 2002-11-13 15:47:09 +00:00