diff options
author | Jamie Gritton <jamie@FreeBSD.org> | 2016-06-09 16:41:41 +0000 |
---|---|---|
committer | Jamie Gritton <jamie@FreeBSD.org> | 2016-06-09 16:41:41 +0000 |
commit | ef0ddea3162e2f4fd836e15c7a26af0141919c88 (patch) | |
tree | a41be9be1954b956558a81dc0727aadda327b5ac /Makefile.libcompat | |
parent | b8d1a376380ecf401d563dc7fb221b3be89857b0 (diff) | |
download | src-test2-ef0ddea3162e2f4fd836e15c7a26af0141919c88.tar.gz src-test2-ef0ddea3162e2f4fd836e15c7a26af0141919c88.zip |
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.
Notes
Notes:
svn path=/head/; revision=301745
Diffstat (limited to 'Makefile.libcompat')
0 files changed, 0 insertions, 0 deletions