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)
Wed, Jan 28, 11:10 PM
Unknown Object (File)
Fri, Jan 16, 3:06 PM
Unknown Object (File)
Fri, Jan 16, 1:06 PM
Unknown Object (File)
Mon, Jan 12, 1:04 PM
Unknown Object (File)
Sat, Jan 10, 4:40 PM
Unknown Object (File)
Sat, Jan 10, 5:21 AM
Unknown Object (File)
Thu, Jan 8, 1:22 AM
Unknown Object (File)
Dec 29 2025, 5:22 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