HomeFreeBSD

jail: add a missing lock around an osd_jail_call().

Description

jail: add a missing lock around an osd_jail_call().

allprison_lock should be at least held shared when jail OSD methods
are called. Add a shared lock around one such call where that wasn't
the case.

In another such call, change an exclusive lock grab to be shared in
what is likely the more common case.

Details

Provenance
jamieAuthored on Dec 27 2020, 4:49 AM
Parents
rG0fe74ae624fc: jail: Consistently handle the pr_allow bitmask
Branches
Unknown
Tags
Unknown