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)
Mon, Aug 3, 9:00 AM
Unknown Object (File)
Mon, Aug 3, 1:17 AM
Unknown Object (File)
Sun, Aug 2, 12:53 AM
Unknown Object (File)
Tue, Jul 28, 2:53 PM
Unknown Object (File)
Mon, Jul 27, 6:10 PM
Unknown Object (File)
Mon, Jul 27, 6:10 PM
Unknown Object (File)
Fri, Jul 24, 11:14 PM
Unknown Object (File)
Tue, Jul 21, 4:02 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