summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_cap.c
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2002-01-16 06:55:30 +0000
committerarr <arr@FreeBSD.org>2002-01-16 06:55:30 +0000
commit1ae1e4e3f2015a0dd28a67d111327bf8b681ba37 (patch)
treee1d5ce61a8174cc7c8b01d4bdcaed7af9b80f626 /sys/kern/kern_cap.c
parent0ed7ba2c7402bdcb1b7ec738e669b00eefaed2b0 (diff)
downloadFreeBSD-src-1ae1e4e3f2015a0dd28a67d111327bf8b681ba37.zip
FreeBSD-src-1ae1e4e3f2015a0dd28a67d111327bf8b681ba37.tar.gz
- Attempt to help declutter kern. sysctl by moving security out from
beneath it. Reviewed by: rwatson
Diffstat (limited to 'sys/kern/kern_cap.c')
-rw-r--r--sys/kern/kern_cap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_cap.c b/sys/kern/kern_cap.c
index c9be68d..caa1f1a 100644
--- a/sys/kern/kern_cap.c
+++ b/sys/kern/kern_cap.c
@@ -61,9 +61,9 @@
static int capabilities_enabled = 0;
-SYSCTL_NODE(_kern_security, OID_AUTO, capabilities, CTLFLAG_RW, 0,
+SYSCTL_NODE(_security, OID_AUTO, capabilities, CTLFLAG_RW, 0,
"POSIX.1e Capabilities");
-SYSCTL_INT(_kern_security_capabilities, OID_AUTO, enabled, CTLFLAG_RW,
+SYSCTL_INT(_security_capabilities, OID_AUTO, enabled, CTLFLAG_RW,
&capabilities_enabled, 0, "POSIX.1e Capabilities enabled");
#endif
OpenPOWER on IntegriCloud