Page MenuHomeFreeBSD

jail: document the mac.label parameter
ClosedPublic

Authored by kevans on Dec 4 2025, 1:49 AM.
Tags
None
Referenced Files
F153369939: D54067.id169825.diff
Mon, Apr 20, 6:35 PM
Unknown Object (File)
Sat, Apr 18, 3:02 PM
Unknown Object (File)
Sat, Apr 18, 8:16 AM
Unknown Object (File)
Mon, Apr 13, 1:09 PM
Unknown Object (File)
Tue, Apr 7, 6:57 AM
Unknown Object (File)
Mon, Apr 6, 6:50 PM
Unknown Object (File)
Sat, Apr 4, 3:43 AM
Unknown Object (File)
Sun, Mar 29, 12:15 AM
Subscribers

Details

Summary

In particular, we should provide a hint about mac.conf(5), since libjail
will just use the mac_prepare_type(3) API to provide a reasonably sane
interface for system administrators. Progammers wanting to fetch an
arbitrary MAC label would need to bypass libjail and use jail_get(2)
directly with their own prepared struct mac.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable