HomeFreeBSD

jaildesc: remove desc from the sysctl parameter list

Description

jaildesc: remove desc from the sysctl parameter list

Like lastjid, desc should count as a pseudo-parameter. The difference
lies entirely in the security.jail.param sysctls, which list all of
the jail parameters. Since desc opens and returns a file descriptor,
it has no place in such uses as "jls all." Like lastjid, it's still
recognized by the kernel if passed in/out, and hard-coded into libjail
so it can be recognized there.

MFC after: 3 days

Details

Provenance
jamieAuthored on Sep 13 2025, 10:30 PM
Parents
rG91ea7e2ce2b5: libc: fix the _FORTIFY_SOURCE build of getgrouplist(3)
Branches
Unknown
Tags
Unknown