freebsd-dev/sys/compat/freebsd32
Robert Watson 96fcc75fdf Add initial support for Capsicum's Capability Mode to the FreeBSD kernel,
compiled conditionally on options CAPABILITIES:

Add a new credential flag, CRED_FLAG_CAPMODE, which indicates that a
subject (typically a process) is in capability mode.

Add two new system calls, cap_enter(2) and cap_getmode(2), which allow
setting and querying (but never clearing) the flag.

Export the capability mode flag via process information sysctls.

Sponsored by:	Google, Inc.
Reviewed by:	anderson
Discussed with:	benl, kris, pjd
Obtained from:	Capsicum Project
MFC after:	3 months
2011-03-01 13:23:37 +00:00
..
freebsd32_ioctl.c Emulate the FIODGNAME ioctl in our 32-bit emulator. 2009-03-29 20:09:51 +00:00
freebsd32_ioctl.h Emulate the FIODGNAME ioctl in our 32-bit emulator. 2009-03-29 20:09:51 +00:00
freebsd32_ipc.h Move SysV IPC freebsd32 compat shims helpers from freebsd32_misc.c to 2010-03-19 11:01:51 +00:00
freebsd32_misc.c Create shared (readonly) page. Each ABI may specify the use of page by 2011-01-08 16:13:44 +00:00
freebsd32_proto.h Regenerate 2010-06-28 18:17:21 +00:00
freebsd32_signal.h Constify source argument for siginfo_to_siginfo32(). 2010-07-04 11:43:53 +00:00
freebsd32_syscall.h Regenerate 2010-06-28 18:17:21 +00:00
freebsd32_syscalls.c Regenerate 2010-06-28 18:17:21 +00:00
freebsd32_sysent.c Regenerate 2010-06-28 18:17:21 +00:00
freebsd32_util.h Revert r210451, and the similar part of the r210431. The forward-declaration 2010-07-26 12:52:44 +00:00
freebsd32.h Restore the ABI of struct kinfo_proc32 after r213536. 2010-12-19 21:18:33 +00:00
Makefile Add a 'clean' target. 2005-10-23 23:58:23 +00:00
syscalls.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.master Add initial support for Capsicum's Capability Mode to the FreeBSD kernel, 2011-03-01 13:23:37 +00:00