Page MenuHomeFreeBSD

jail: document the mac.label parameter
ClosedPublic

Authored by kevans on Dec 4 2025, 1:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 21, 4:02 PM
Unknown Object (File)
Tue, Jul 21, 1:35 PM
Unknown Object (File)
Tue, Jul 21, 3:17 AM
Unknown Object (File)
Sun, Jul 19, 4:13 PM
Unknown Object (File)
Sat, Jul 18, 6:12 PM
Unknown Object (File)
Sat, Jul 18, 2:00 AM
Unknown Object (File)
Wed, Jul 15, 6:57 AM
Unknown Object (File)
Wed, Jul 15, 6:57 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 Passed
Unit
No Test Coverage
Build Status
Buildable 69039
Build 65922: arc lint + arc unit