summaryrefslogtreecommitdiff
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorJamie Gritton <jamie@FreeBSD.org>2016-06-09 16:41:41 +0000
committerJamie Gritton <jamie@FreeBSD.org>2016-06-09 16:41:41 +0000
commitef0ddea3162e2f4fd836e15c7a26af0141919c88 (patch)
treea41be9be1954b956558a81dc0727aadda327b5ac /Makefile.libcompat
parentb8d1a376380ecf401d563dc7fb221b3be89857b0 (diff)
downloadsrc-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