rwatson 7c21db8ed3 Define two new sysctl node flags: CTLFLAG_CAPRD and CTLFLAG_CAPRW, which
may be jointly referenced via the mask CTLFLAG_CAPRW.  Sysctls with these
flags are available in Capsicum's capability mode; other sysctl nodes are
not.

Flag several useful sysctls as available in capability mode, such as memory
layout sysctls required by the run-time linker and malloc(3).  Also expose
access to randomness and available kernel features.

A few sysctls are enabled to support name->MIB conversion; these may leak
information to capability mode by virtue of providing resolution on names
not flagged for access in capability mode.  This is, generally, not a huge
problem, but might be something to resolve in the future.  Flag these cases
with XXX comments.

Submitted by:	jonathan
Sponsored by:	Google, Inc.
2011-07-17 23:05:24 +00:00
..
2011-06-14 16:29:43 +00:00
MFC
2011-05-23 23:58:02 +00:00
2011-04-13 11:28:46 +00:00
MFC
2011-05-31 21:22:44 +00:00
2011-04-26 07:30:52 +00:00
2010-11-22 15:28:54 +00:00
2010-11-25 20:05:11 +00:00
2011-07-10 00:53:04 +00:00
MFC
2011-06-01 16:54:33 +00:00
2010-11-14 16:10:15 +00:00
2011-07-11 05:17:46 +00:00
2011-07-11 05:17:46 +00:00
MFC
2011-05-13 15:20:57 +00:00
MFC
2011-05-13 15:20:57 +00:00