|
NAMEmac_priority —
policy for scheduling privileges of non-root users
SYNOPSISTo compile the mac_priority policy into your kernel, place the following lines in your kernel configuration file:options MAC
options MAC_PRIORITY Alternately, to load the mac_priority policy module at boot time, place the following line in your kernel configuration file: options MAC and in loader.conf(5): mac_priority_load="YES" DESCRIPTIONThemac_priority policy grants scheduling privileges
based on
group(5)
membership. Users or processes in the group ‘realtime’ (gid 47)
are allowed to run threads and processes with realtime scheduling priority.
Users or processes in the group ‘idletime’ (gid 48) are allowed
to run threads and processes with idle scheduling priority.
With the When the idletime policy is active, privileged users may use the idprio(1) utility to start processes with idle priority. Privileged applications can demote threads and processes to idle priority through the rtprio(2) system calls. Privileges GrantedThe realtime policy grants the following kernel privileges to any process running with the realtime group id:The kernel privilege granted by the idletime policy is: Runtime ConfigurationThe following sysctl(8) MIBs are available for fine-tuning this MAC policy. All sysctl(8) variables can also be set as loader(8) tunables in loader.conf(5).
SEE ALSOidprio(1), rtprio(1), rtprio(2), mac(4)HISTORYMAC first appeared in FreeBSD 5.0 andmac_priority first appeared in
FreeBSD 14.0.
Visit the GSP FreeBSD Man Page Interface. |