HomeFreeBSD

jail: add prison_cleanup() to release resources held by a dying jail

Description

jail: add prison_cleanup() to release resources held by a dying jail

Currently, when a jail starts dying, either by losing its last user
reference or by being explicitly killed,
osd_jail_call(...PR_METHOD_REMOVE...) is called. Encapsulate this
into a function prison_cleanup() that can then do other cleanup.

Details

Provenance
jamieAuthored on Jun 29 2022, 5:33 PM
Parents
rGcb91f112a3dc: Decode the arm64 SVE ID register
Branches
Unknown
Tags
Unknown