Page MenuHomeFreeBSD

jail: document the mac.label parameter
ClosedPublic

Authored by kevans on Dec 4 2025, 1:49 AM.
Tags
None
Referenced Files
F176234051: D54067.id169825.diff
Sat, Oct 17, 4:53 AM
F176227379: D54067.id167520.diff
Sat, Oct 17, 3:30 AM
Unknown Object (File)
Wed, Oct 14, 2:23 PM
Unknown Object (File)
Fri, Oct 2, 8:09 AM
Unknown Object (File)
Fri, Oct 2, 4:28 AM
Unknown Object (File)
Fri, Oct 2, 12:11 AM
Unknown Object (File)
Sep 16 2026, 3:32 AM
Unknown Object (File)
Sep 14 2026, 11:56 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