HomeFreeBSD

jail: fix dangling reference bug from 6754ae2572eb

Description

jail: fix dangling reference bug from 6754ae2572eb

The change to use refcounts for pr_uref was mishandled in
prison_proc_free, so killing a jail's last process could add
an extra reference, leaving it an unkillable zombie.

Details

Provenance
jamieAuthored on Jan 22 2021, 6:56 PM
Parents
rG39c8ef90f6d0: jail: A jail could be removed without calling OSD methods
Branches
Unknown
Tags
Unknown