HomeFreeBSD

MFC jail: Handle a parent jail when a child is added to it

Description

MFC jail: Handle a parent jail when a child is added to it

It's possible when adding a jail that its dying parent comes back to
life. Only allow that to happen when JAIL_DYING is specified. And if
it does happen, call PR_METHOD_CREATE on it.

(cherry picked from commit c050ea803eaa1087313b86628b5d486c0e59e41b)

Details

Provenance
jamieAuthored on Jan 29 2021, 5:51 AM
Parents
rG7726fc9940d6: MFC jail: fix dangling reference bug from 6754ae2572eb
Branches
Unknown
Tags
Unknown