summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-11-13 15:47:09 +0000
committerrwatson <rwatson@FreeBSD.org>2002-11-13 15:47:09 +0000
commit9dde910437d4d4f8c5ef8c41b064eab5f4f26383 (patch)
tree042d8676fe6224ce7990e86d7e4a34cc70720774 /usr.bin/fetch/fetch.c
parent06657e3da637adc5c3bf0ec833d3a117f55cf08b (diff)
downloadFreeBSD-src-9dde910437d4d4f8c5ef8c41b064eab5f4f26383.zip
FreeBSD-src-9dde910437d4d4f8c5ef8c41b064eab5f4f26383.tar.gz
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
Diffstat (limited to 'usr.bin/fetch/fetch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud