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
..
2011-02-21 09:01:34 +00:00
2011-03-01 11:47:51 +00:00
2011-02-28 05:45:31 +00:00
2011-02-12 01:03:15 +00:00
2011-02-21 16:21:43 +00:00
2011-02-21 09:01:34 +00:00
2011-02-22 14:58:14 +00:00
2011-02-21 09:01:34 +00:00
2011-02-21 09:01:34 +00:00
2010-12-05 10:15:23 +00:00