HomeFreeBSD

jail: Simplify handling of prison_deref()

Description

jail: Simplify handling of prison_deref()

Track the the current lock/reference state in a single variable,
rather than deducing the proper prison_deref() flags from a
combination of equations and hard-coded values.

Details

Provenance
jamieAuthored on Jan 10 2021, 5:05 AM
Parents
R10:ac2576b9f7bc: tmpfs open: assert that there is no double-init of f_data.
Branches
Unknown
Tags
Unknown