HomeFreeBSD

jaildesc: remove file-mode-based access controls

Description

jaildesc: remove file-mode-based access controls

Jail descriptors were given a file-like mode, user, and group, for the
purpose of controlling how the descriptor may be used. This is too far
removed from the file paradigm to make sense. Remove it in favor of a
better access control method to be added, such as Capsicum.

Also add missing code in jaildesc_fill_kinfo.

Reported by: crest at rlwinm.de, kib
MFC after: 3 days

Details

Provenance
jamieAuthored on Sep 10 2025, 11:21 PM
Parents
rGc8fb5a4d032b: ifconfig: also fix removing IPv6 addresses without netlink
Branches
Unknown
Tags
Unknown