freebsd-dev/sys/compat/svr4
Robert Watson a9d2f8d84f Second-to-last commit implementing Capsicum capabilities in the FreeBSD
kernel for FreeBSD 9.0:

Add a new capability mask argument to fget(9) and friends, allowing system
call code to declare what capabilities are required when an integer file
descriptor is converted into an in-kernel struct file *.  With options
CAPABILITIES compiled into the kernel, this enforces capability
protection; without, this change is effectively a no-op.

Some cases require special handling, such as mmap(2), which must preserve
information about the maximum rights at the time of mapping in the memory
map so that they can later be enforced in mprotect(2) -- this is done by
narrowing the rights in the existing max_protection field used for similar
purposes with file permissions.

In namei(9), we assert that the code is not reached from within capability
mode, as we're not yet ready to enforce namespace capabilities there.
This will follow in a later commit.

Update two capability names: CAP_EVENT and CAP_KEVENT become
CAP_POST_KEVENT and CAP_POLL_KEVENT to more accurately indicate what they
represent.

Approved by:	re (bz)
Submitted by:	jonathan
Sponsored by:	Google Inc
2011-08-11 12:30:23 +00:00
..
imgact_svr4.c Remove stray semicolon. 2011-04-10 10:15:49 +00:00
Makefile
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h
svr4_fcntl.c Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
svr4_fcntl.h
svr4_filio.c Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
svr4_ioctl.h Burn TTY ioctl bridges in compat layers. 2009-05-08 20:06:37 +00:00
svr4_ipc.c Change the ABI of some of the structures used by the SYSV IPC API: 2009-06-24 21:10:52 +00:00
svr4_ipc.h
svr4_misc.c Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
svr4_mman.h
svr4_proto.h Regenerate 2010-06-28 18:17:21 +00:00
svr4_resource.c de-register. 2009-05-29 05:58:46 +00:00
svr4_resource.h
svr4_siginfo.h
svr4_signal.c de-register. 2009-05-29 05:58:46 +00:00
svr4_signal.h
svr4_socket.c copyinstr(9) takes parameter 'len' as a size_t *, not int *. 2009-05-29 06:04:26 +00:00
svr4_socket.h
svr4_sockio.c Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c Rename st_*timespec fields to st_*tim for POSIX 2008 compliance. 2010-03-28 13:13:22 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
svr4_stropts.h
svr4_syscall.h Regenerate 2010-06-28 18:17:21 +00:00
svr4_syscallnames.c Regenerate 2010-06-28 18:17:21 +00:00
svr4_sysconfig.h Add new sysconfig bits, Fix the bogus numbering of the old bits. 2009-05-29 05:37:27 +00:00
svr4_sysent.c Regenerate 2010-06-28 18:17:21 +00:00
svr4_systeminfo.h
svr4_sysvec.c Extend struct sysvec with new method sv_schedtail, which is used for an 2011-03-08 19:01:45 +00:00
svr4_termios.c Include <sys/tty.h> instead of <sys/termios.h>. 2009-11-28 16:30:06 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_types.h Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h
svr4_utsname.h
svr4_wait.h
svr4.h
syscalls.conf
syscalls.master Remove unused LIBCOMPAT keyword from syscalls.master. 2010-02-08 10:02:01 +00:00