freebsd-dev/lib/libc
Florian Walpen a9545eede4 Add idle priority scheduling privilege group to MAC/priority
Add an idletime user group that allows non-root users to run processes
with idle scheduling priority. Privileges are granted by a MAC policy in
the mac_priority module. For this purpose, the kernel privilege
PRIV_SCHED_IDPRIO was added to sys/priv.h (kernel module ABI change).

Deprecate the system wide sysctl(8) knob
security.bsd.unprivileged_idprio which lets any user run idle priority
processes, regardless of context. While the knob is still working, it is
marked as deprecated in the description and in the man pages.

MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D33338
2021-12-10 04:54:48 +02:00
..
aarch64 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
amd64 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
arm libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
capability
compat-43
db tools/build: Don't redefine open() for the linux bootstrap 2021-08-02 14:33:23 +01:00
gdtoa
gen TLS: Use <machine/tls.h> for libc and rtld. 2021-12-09 13:23:05 -08:00
gmon
i386 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
iconv citrus_prop.c: do not ignore sign 2021-11-29 17:39:54 +02:00
include libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
inet
isc
locale libc/locale: Fix races between localeconv(3) and setlocale(3) 2021-09-17 10:47:46 -04:00
md
mips libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
nameser
net Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
nls Implement strerror_l(). 2020-12-16 09:02:09 +00:00
posix1e acl_delete_entry(): remove write-only variable 2021-11-29 17:39:51 +02:00
powerpc libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
powerpc64 libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
powerpcspe [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask(). 2021-02-28 21:11:29 -06:00
quad
regex libc: regex: rework unsafe pointer arithmetic 2021-01-08 13:58:35 -06:00
resolv res_init: remove unused inet_makeaddr with IN_LOOPBACKNET 2021-11-09 09:33:48 -06:00
riscv libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
rpc libc/rpc/getrpcent.c: Mark write-only variables as unused 2021-11-29 17:39:50 +02:00
secure libc: ssp: sprinkle around some __dead2 2021-09-30 23:55:17 -05:00
softfloat libc: use standard LF line endings, not CRLF 2021-04-03 16:20:07 -04:00
stdio libc/stdio/vfwscanf.c::convert_wstring(): wcp0 is write-only 2021-11-29 17:39:51 +02:00
stdlib libc: add clearenv function 2021-11-07 16:20:15 +01:00
stdtime tzcode: Implement timezone change detection 2021-09-12 03:07:58 +00:00
string memcpy.3: remove BUGS section allowing overlapping strings 2021-08-24 09:58:10 -04:00
sys Add idle priority scheduling privilege group to MAC/priority 2021-12-10 04:54:48 +02:00
tests libc/tests/stdlib/dynthr_mod/dynthr_mod.c: mark dummy as used 2021-11-29 17:39:51 +02:00
uuid uuid(3): Document return values 2021-11-19 03:58:34 -05:00
x86 libc/x86/__vdso_gettc.c::tsc_selector_idx(): cpu_id is calculated but not used 2021-11-29 17:39:51 +02:00
xdr
yp
libc_nossp.ldscript
libc.ldscript
Makefile libc: Use the initial-exec TLS model 2021-07-15 22:41:10 -04:00
Makefile.depend
Makefile.depend.options
Versions.def Create namespace for the symbols added during 14-CURRENT cycle. 2021-07-15 19:40:28 +03:00