mac_none(4)

mac_none4

Null mac policy module

Usage

To compile the null policy into your kernel, place the following lines in your kernel configuration file:

options MAC options MAC_NONE

Alternately, to load the none module at boot time, place the following line in your kernel configuration file:

options MAC

and in loader.conf(5):

mac_none_load="YES"

Overview

The mac_none policy module implements a none MAC policy that has no effect on access control in the system. Unlike mac_stub(4), none of the MAC entry points are defined.

Label Format

No labels are defined for mac_none.

Releases

56 releases since FreeBSD 5.0-RELEASE; the text changed 37 times.

  1. 5.0
  2. 5.1
  3. 5.2–5.2.1
  4. 5.3–5.5
  5. 6.0–6.3
  6. 6.4
  7. 7.0
  8. 7.1
  9. 7.2
  10. 7.3
  11. 7.4
  12. 8.0
  13. 8.1
  14. 8.2
  15. 8.3
  16. 8.4
  17. 9.0
  18. 9.1
  19. 9.2
  20. 9.3
  21. 10.0
  22. 10.1
  23. 10.2
  24. 10.3
  25. 10.4
  26. 11.0
  27. 11.1
  28. 11.2
  29. 11.3
  30. 11.4
  31. 12.0
  32. 12.1
  33. 12.2
  34. 12.3
  35. 12.4
  36. 13.0–13.2
  37. 13.3–13.5
  38. 14.0–16.0

History

The mac_none policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project.

Authors

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

Bugs

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.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.