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, Sep 16, 3:32 AM
Unknown Object (File)
Mon, Sep 14, 11:56 AM
Unknown Object (File)
Sat, Sep 5, 11:49 PM
Unknown Object (File)
Sat, Sep 5, 2:37 PM
Unknown Object (File)
Sat, Sep 5, 4:31 AM
Unknown Object (File)
Fri, Sep 4, 9:46 PM
Unknown Object (File)
Fri, Sep 4, 9:37 PM
Unknown Object (File)
Fri, Sep 4, 7:30 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