1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/conf
Jonathan Anderson cfb5f76865 Add experimental support for process descriptors
A "process descriptor" file descriptor is used to manage processes
without using the PID namespace. This is required for Capsicum's
Capability Mode, where the PID namespace is unavailable.

New system calls pdfork(2) and pdkill(2) offer the functional equivalents
of fork(2) and kill(2). pdgetpid(2) allows querying the PID of the remote
process for debugging purposes. The currently-unimplemented pdwait(2) will,
in the future, allow querying rusage/exit status. In the interim, poll(2)
may be used to check (and wait for) process termination.

When a process is referenced by a process descriptor, it does not issue
SIGCHLD to the parent, making it suitable for use in libraries---a common
scenario when using library compartmentalisation from within large
applications (such as web browsers). Some observers may note a similarity
to Mach task ports; process descriptors provide a subset of this behaviour,
but in a UNIX style.

This feature is enabled by "options PROCDESC", but as with several other
Capsicum kernel features, is not enabled by default in GENERIC 9.0.

Reviewed by: jhb, kib
Approved by: re (kib), mentor (rwatson)
Sponsored by: Google Inc
2011-08-18 22:51:30 +00:00
..
defines
files Add experimental support for process descriptors 2011-08-18 22:51:30 +00:00
files.amd64 Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
files.arm Compile in in_cksum* implementations for both IPv6 and IPv6. 2011-04-20 12:58:30 +00:00
files.i386 Don't include mptable_pci.c in Xen kernels. It is only meant for systems 2011-07-17 01:23:50 +00:00
files.ia64 Switch to the event timers infrastructure. This includes: 2011-06-25 02:15:14 +00:00
files.mips Support of Ralink Ethernet MAC, used in RT3050F/RT3052F and I belive in other Ralink SoCs. 2011-07-11 08:23:59 +00:00
files.pc98 Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
files.powerpc Add support for the Blu-Ray drive found in the Sony Playstation 3 and fix 2011-08-14 00:20:37 +00:00
files.sparc64 Compile in in_cksum* implementations for both IPv6 and IPv6. 2011-04-20 12:58:30 +00:00
kern.mk Remove an outdated comment as requested by Bruce Evans in a private email to 2011-05-24 09:01:56 +00:00
kern.post.mk Test against "no" rather than "yes" for MK_KERNEL_SYMBOLS 2011-05-23 21:32:45 +00:00
kern.pre.mk Use a maximum of -O on PowerPC kernels instead of -O2 to prevent a rare 2011-08-15 13:33:14 +00:00
kmod_syms.awk
kmod.mk Test against "no" rather than "yes" for MK_KERNEL_SYMBOLS 2011-05-23 21:32:45 +00:00
ldscript.amd64
ldscript.arm
ldscript.i386
ldscript.ia64 Stop linking against a direct-mapped virtual address and instead 2011-04-30 20:49:00 +00:00
ldscript.mips
ldscript.mips.cfe
ldscript.mips.mips64
ldscript.mips.octeon1
ldscript.powerpc
ldscript.powerpc64
ldscript.sparc64
Makefile.amd64
Makefile.arm Add -ffreestanding to the command line, so taht inflate.c compiles and link 2011-06-15 19:15:50 +00:00
Makefile.i386
Makefile.ia64
Makefile.mips Support compiling MIPS elf trampoline with a different ABI. 2011-07-16 17:22:01 +00:00
Makefile.pc98
Makefile.powerpc Add -Wa,-many to CFLAGS on PowerPC. This aids in building a kernel using 2011-06-09 19:47:30 +00:00
Makefile.sparc64
makeLINT.mk Add LINT-NOINET6 which we have inofficially supported for years 2011-05-02 22:54:24 +00:00
makeLINT.sed
newvers.sh Looks like we're ready for 9.0-BETA1 builds. 2011-07-26 04:00:00 +00:00
NOTES Add experimental support for process descriptors 2011-08-18 22:51:30 +00:00
options Add experimental support for process descriptors 2011-08-18 22:51:30 +00:00
options.amd64
options.arm
options.i386
options.ia64
options.mips MIPS changes for Netlogic XLP support. 2011-07-16 20:31:29 +00:00
options.pc98
options.powerpc
options.sparc64
systags.sh