SYNOPSIS
To compile the sample policy into your kernel, place the following lines in your kernel configuration file:
.Cd "options MAC"
.Cd "options MAC_STUB"
Alternately, to load the sample module at boot time, place the following line in your kernel configuration file:
.Cd "options MAC"
and in loader.conf(5):
mac_stub_load="YES"
DESCRIPTION
The mac_stub policy module implements a sample MAC policy that has no effect on access control in the system. Unlike mac_none(4), each MAC entry point is defined as a "no-op", so the policy module will be entered for each event, but no change in system behavior should result.
Label Format
No labels are defined for mac_stub.
SEE ALSO
mac(4), mac_biba(4), mac_bsdextended(4), mac_ifoff(4), mac_lomac(4), mac_mls(4), mac_none(4), mac_partition(4), mac_portacl(4), mac_seeotheruids(4), mac_test(4), mac(9)
HISTORY
AUTHORS
BUGS
mac(9)