HomeFreeBSD

mfc jail: handle jailsys parameters in modification permission test

Description

mfc jail: handle jailsys parameters in modification permission test

Avoid a null dereference when a value-less jailsys parameter is passed
to "jail -m". There was already code to handle boolean parameters,
but in reality any parameter could be passed without a value.

PR: 262471
Reported by: jcaplan at blackberry.com

(cherry picked from commit 8f1543785f77086494c73310ba8f5d09b61ff7eb)

Details

Provenance
jamieAuthored on Mar 26 2022, 2:16 AM
Parents
rG4cf0cc507f35: pf: hoist the unlinked rules lock out of the mass rule removal loop
Branches
Unknown
Tags
Unknown