svn commit: r223533 - head/sys/kern

Jonathan Anderson jonathan at FreeBSD.org
Sat Jun 25 12:37:06 UTC 2011


Author: jonathan
Date: Sat Jun 25 12:37:06 2011
New Revision: 223533
URL: http://svn.freebsd.org/changeset/base/223533

Log:
  Remove redundant Capsicum sysctl.
  
  Since we're now declaring FEATURE(security_capabilities), there's no need for an explicit SYSCTL_NODE.
  
  Approved by: rwatson

Modified:
  head/sys/kern/sys_capability.c

Modified: head/sys/kern/sys_capability.c
==============================================================================
--- head/sys/kern/sys_capability.c	Sat Jun 25 11:21:23 2011	(r223532)
+++ head/sys/kern/sys_capability.c	Sat Jun 25 12:37:06 2011	(r223533)
@@ -64,13 +64,6 @@ __FBSDID("$FreeBSD$");
 FEATURE(security_capabilities, "Capsicum Capability Mode");
 
 /*
- * We don't currently have any MIB entries for sysctls, but we do expose
- * security.capabilities so that it's easy to tell if options CAPABILITIES is
- * compiled into the kernel.
- */
-SYSCTL_NODE(_security, OID_AUTO, capabilities, CTLFLAG_RW, 0, "Capsicum");
-
-/*
  * System call to enter capability mode for the process.
  */
 int


More information about the svn-src-head mailing list