opnsense-src/sys/compat/freebsd32
Edward Tomasz Napierala db8d680ebe procctl(2): add PROC_NO_NEW_PRIVS_CTL, PROC_NO_NEW_PRIVS_STATUS
This introduces a new, per-process flag, "NO_NEW_PRIVS", which
is inherited, preserved on exec, and cannot be cleared.  The flag,
when set, makes subsequent execs ignore any SUID and SGID bits,
instead executing those binaries as if they not set.

The main purpose of the flag is implementation of Linux
PROC_SET_NO_NEW_PRIVS prctl(2), and possibly also unpriviledged
chroot.

Reviewed By:	kib
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D30939
2021-07-01 09:42:07 +01:00
..
freebsd32.h Add ptrace(PT_COREDUMP) 2021-05-03 19:18:26 +03:00
freebsd32_capability.c Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
freebsd32_ioctl.c Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
freebsd32_ioctl.h Move 32-bit compat support for FIODGNAME to the right place. 2018-10-26 17:59:25 +00:00
freebsd32_ipc.h compat: clean up empty lines in .c and .h files 2020-09-01 21:24:33 +00:00
freebsd32_misc.c procctl(2): add PROC_NO_NEW_PRIVS_CTL, PROC_NO_NEW_PRIVS_STATUS 2021-07-01 09:42:07 +01:00
freebsd32_misc.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
freebsd32_proto.h Regenerate syscall files after reallocation of aio_writev/aio_readv 2021-01-07 19:50:32 -07:00
freebsd32_signal.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
freebsd32_syscall.h Regenerate syscall files after reallocation of aio_writev/aio_readv 2021-01-07 19:50:32 -07:00
freebsd32_syscalls.c Regenerate syscall files after reallocation of aio_writev/aio_readv 2021-01-07 19:50:32 -07:00
freebsd32_sysent.c regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
freebsd32_systrace_args.c regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
freebsd32_util.h Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
Makefile sysent targets: further cleanup and deduplication 2020-01-18 20:37:45 +00:00
syscalls.conf Use the main capabilities.conf for freebsd32. 2018-11-14 00:46:02 +00:00
syscalls.master Reallocate syscall numbers for aio_writev and aio_readv 2021-01-07 19:49:27 -07:00