Main index | Section 4 | Options |
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"
With the mac_priority realtime policy active, privileged users may use the rtprio(1) utility to start processes with realtime priority. Privileged applications can promote threads and processes to realtime priority through the rtprio(2) system calls.
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.
PRIV_SCHED_RTPRIO
PRIV_SCHED_SETPOLICY | |
The kernel privilege granted by the idletime policy is:
PRIV_SCHED_IDPRIO | |
security.mac.priority.realtime | |
Enable the realtime policy. (Default: 1). | |
security.mac.priority.realtime_gid | |
The numeric gid of the realtime group. (Default: 47). | |
security.mac.priority.idletime | |
Enable the idletime policy. (Default: 1). | |
security.mac.priority.idletime_gid | |
The numeric gid of the idletime group. (Default: 48). | |
MAC_PRIORITY (4) | December 14, 2021 |
Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | What will happen when the 32-bit Unix date goes negative in mid-January 2038 does not bear thinking about. | ” |
— Henry Spencer |