Page MenuHomeFreeBSD

jail: document the mac.label parameter
ClosedPublic

Authored by kevans on Dec 4 2025, 1:49 AM.
Tags
None
Referenced Files
F168605604: D54067.diff
Sat, Aug 29, 5:53 AM
F168563535: D54067.id169825.diff
Sat, Aug 29, 1:17 AM
Unknown Object (File)
Thu, Aug 27, 2:31 PM
Unknown Object (File)
Thu, Aug 27, 5:38 AM
Unknown Object (File)
Tue, Aug 25, 9:05 PM
Unknown Object (File)
Tue, Aug 25, 1:06 PM
Unknown Object (File)
Tue, Aug 25, 12:57 PM
Unknown Object (File)
Tue, Aug 25, 5:53 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