MAC_STUB(4FREEBSD) - Linux man page online | Special files

MAC policy stub module.

July 25, 2015
MAC_STUB(4) BSD Kernel Interfaces Manual MAC_STUB(4)


mac_stub — MAC policy stub module


To compile the stub policy into your kernel, place the following lines in your kernel con‐ figuration file: options MAC options MAC_STUB Alternately, to load the stub module at boot time, place the following line in your kernel configuration file: options MAC and in loader.conf(5): mac_stub_load="YES"


The mac_stub policy module implements a stub 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.


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)


The mac_stub policy module first appeared in FreeBSD 5.1 and was developed by the TrustedBSD Project.


This software was contributed to the FreeBSD Project by Network Associates Labs, the Secu‐ rity Research Division of Network Associates Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (“CBOSS”), as part of the DARPA CHATS research program.


While the MAC Framework design is intended to support the containment of the root user, not all attack channels are currently protected by entry point checks. As such, MAC Framework policies should not be relied on, in isolation, to protect against a malicious privileged user.
BSD July 25, 2015 BSD
This manual Reference Other manuals
mac_stub(4freebsd) referred by mac_none(4freebsd)
refer to mac(4freebsd) | mac(9freebsd) | mac_biba(4freebsd) | mac_bsdextended(4freebsd) | mac_ifoff(4freebsd) | mac_lomac(4freebsd) | mac_mls(4freebsd) | mac_none(4freebsd) | mac_partition(4freebsd) | mac_portacl(4freebsd) | mac_seeotheruids(4freebsd) | mac_test(4freebsd)
Download raw manual
Index BSD Kernel Interfaces Manual (+773) BSD (+3984) № 4 (+981)
Go top