diff options
author | jamie <jamie@FreeBSD.org> | 2016-06-15 01:56:20 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2016-06-15 01:56:20 +0000 |
commit | cbbf6bc8819be31168b6d7024888140a1caa07ae (patch) | |
tree | 40f334f33e062e615b5d1da34d78ea057091b1c4 /contrib/diff/lib | |
parent | d7aadcbe8c8711fd02ae2ce7da26b1ed7efc2ea7 (diff) | |
download | FreeBSD-src-cbbf6bc8819be31168b6d7024888140a1caa07ae.zip FreeBSD-src-cbbf6bc8819be31168b6d7024888140a1caa07ae.tar.gz |
MFC r301745:
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 'contrib/diff/lib')
0 files changed, 0 insertions, 0 deletions