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)
Sat, May 16, 9:23 PM
Unknown Object (File)
Sat, May 16, 9:08 PM
Unknown Object (File)
Sat, May 16, 8:57 PM
Unknown Object (File)
Sat, May 16, 8:57 PM
Unknown Object (File)
Sat, May 16, 4:02 AM
Unknown Object (File)
Sat, May 16, 4:00 AM
Unknown Object (File)
Thu, May 14, 5:43 AM
Unknown Object (File)
Thu, Apr 30, 10:35 PM
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