freebsd-dev/share
Florian Walpen e28767f0e1 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
2021-12-15 00:01:58 +02:00
..
colldef pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
colldef_unicode pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
ctypedef localedef: unbreak WITHOUT_LOCALES 2021-08-19 12:38:17 -05:00
dict
doc pkgbase: Install atf and kyua in the tests package 2021-01-04 16:20:47 +01:00
dtrace dtrace: fix ipfw_rule_info_t translator 2021-09-02 16:35:01 +03:00
examples jail(3lua): add a jail.list() method 2021-09-30 16:30:57 -05:00
i18n Remove mkcsmapper_static and mkesdb_static from build-tools 2021-08-02 14:33:25 +01:00
keys
man Thread creation privilege for realtime group 2021-12-15 00:01:58 +02:00
misc pci_vendors: update to 2021-11-24 2021-11-26 08:52:46 +01:00
mk mips: Turn off LLVM MIPS targets by default 2021-12-10 11:31:07 -07:00
monetdef pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
monetdef_unicode pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
msgdef pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
msgdef_unicode pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
numericdef pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
numericdef_unicode pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
security
sendmail
skel sh(1): fix home/del key on mobaxterm env 2021-10-20 14:00:20 +02:00
snmp pkgbase: Put the mibs and defs in the bnsmp package 2021-06-19 17:50:03 +02:00
syscons pkgbase: Create a syscons-data package 2021-09-07 10:21:40 +02:00
tabset
termcap termcap: add an entry for the foot terminal 2021-02-21 06:06:47 +01:00
tests
timedef pkgbase: locales: Also tag the files dir 2021-08-06 14:37:45 +02:00
vt pkgbase: Create a vt-data package 2021-09-07 10:21:09 +02:00
zoneinfo pkgbase: Put zoneinfo file in their own package 2021-01-04 16:18:36 +01:00
Makefile locales: now that C.UTF-8 is the default locale, always install it 2021-07-23 16:58:20 +02:00
Makefile.inc