diff options
author | jamie <jamie@FreeBSD.org> | 2016-06-09 16:41:41 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2016-06-09 16:41:41 +0000 |
commit | debe558799a039749c66e1bfa41c6d004cd4f0f6 (patch) | |
tree | a41be9be1954b956558a81dc0727aadda327b5ac /lib/libc/stdlib/div.c | |
parent | d140ca2a4e21b6bb4289b965c6e05dc56c90e384 (diff) | |
download | FreeBSD-src-debe558799a039749c66e1bfa41c6d004cd4f0f6.zip FreeBSD-src-debe558799a039749c66e1bfa41c6d004cd4f0f6.tar.gz |
Make sure the OSD methods for jail set and remove can't run concurrently,
by holding allprison_lock exclusively (even if only for a moment before
downgrading) on all paths that call PR_METHOD_REMOVE. Since they may run
on a downgraded lock, it's still possible for them to run concurrently
with PR_METHOD_GET, which will need to use the prison lock.
Diffstat (limited to 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions