Searched hist:e28767f0e17550d8ed030cff0918202e5de101ab (Results 1 – 2 of 2) sorted by relevance
/freebsd/share/man/man4/ |
H A D | mac_priority.4 | diff e28767f0e17550d8ed030cff0918202e5de101ab Tue Dec 14 22:55:51 CET 2021 Florian Walpen <dev@submerge.ch> Thread creation privilege for realtime group
With the mac_priority(4) realtime policy active, users and processes in the realtime group may promote existing threads and processes to realtime scheduling priority. Extend the privileges granted to PRIV_SCHED_SETPOLICY which allows explicit creation of new realtime threads.
One use case of this is when the pthread scheduling policy is set to SCHED_RR or SCHED_FIFO via pthread_attr_setschedpolicy(...) before calling pthread_create(...). I ran into this when testing audio software with realtime threads, particularly audio/ardour6.
MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33393
|
/freebsd/sys/security/mac_priority/ |
H A D | mac_priority.c | diff e28767f0e17550d8ed030cff0918202e5de101ab Tue Dec 14 22:55:51 CET 2021 Florian Walpen <dev@submerge.ch> Thread creation privilege for realtime group
With the mac_priority(4) realtime policy active, users and processes in the realtime group may promote existing threads and processes to realtime scheduling priority. Extend the privileges granted to PRIV_SCHED_SETPOLICY which allows explicit creation of new realtime threads.
One use case of this is when the pthread scheduling policy is set to SCHED_RR or SCHED_FIFO via pthread_attr_setschedpolicy(...) before calling pthread_create(...). I ran into this when testing audio software with realtime threads, particularly audio/ardour6.
MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33393
|