MAC_PARTITION(4)
πΈ MAC_PARTITION(4) β process partition policy, from the Kernel Interfaces Manual πΈ
π NAME π
mac_partition β process partition policy
β¨ SYNOPSIS β¨
okay so if you want the process partition policy compiled into your kernel, bestie, put these lines in your kernel configuration file:
options MAC
options MAC_PARTITION
Or, if you're loading the process partition module at boot time instead, put this line in your kernel configuration file:
options MAC
and then in loader.conf(5):
mac_partition_load="YES"
π¦ DESCRIPTION π¦
The mac_partition policy module implements a process partition policy. It lets administrators place running processes into βpartitionsβ based on their numeric process partition β which is specified in the process's MAC label. π
Processes with a specified partition can only see processes that are in the same partition. If no partition is specified for a process, it can see all other processes in the system β subject to other MAC policy restrictions not defined in this man page. π
And no, there are no provisions for placing processes into multiple partitions available. That's just not a thing here. periodt.
π Label Format π
Partition labels take on the following format:
partition/value
Where value can be any integer value or βnoneβ. For example:
partition/1
partition/20
partition/none
π SEE ALSO π
mac(4)mac_biba(4)mac_bsdextended(4)mac_ddb(4)mac_ifoff(4)mac_lomac(4)mac_mls(4)mac_none(4)mac_portacl(4)mac_seeotheruids(4)mac_test(4)maclabel(7)mac(9)
β HISTORY β
The mac_partition policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project. iconic origin story, honestly.
π«Ά 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 π
β οΈ real talk, bestie: 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. no cap.
π that's the whole page, bestie β brought to you by Debian, dated July 25, 2015, and filed under MAC_PARTITION(4). mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2002 Networks Associates Technology, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms