HomeFreeBSD

Delay the recursive decrement of pr_uref when jails are made invisible
rS225191Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Delay the recursive decrement of pr_uref when jails are made invisible
but not removed; decrement it instead when the child jail actually
goes away. This avoids letting the counter go below zero in the case
where dying (pr_uref==0) jails are "resurrected", and an associated
KASSERT panic.

Submitted by: Steven Hartland
Approved by: re (bz)
MFC after: 1 week

Details

Provenance
jamieAuthored on
Parents
rS225190: Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn't
Branches
Unknown
Tags
Unknown

Event Timeline