mac_test4
Mac framework testing policy
Usage
To compile the testing policy into your kernel, place the following lines in your kernel configuration file:
options MAC options MAC_TEST
Alternately, to load the testing module at boot time, place the following line in your kernel configuration file:
options MAC
and in loader.conf(5):
mac_test_load="YES"
Overview
The mac_test policy module implements a testing facility for the MAC framework. Among other things, mac_test will try to catch corrupt labels the system is attempting to destroy and drop to the debugger. Additionally, a set of statistics regarding the number of times various MAC framework entry points have been called is stored in the security.mac.test sysctl(8) tree.
Label Format
No labels are defined for mac_test.