aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-07-02 14:03:29 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-07-02 14:03:29 +0000
commitbc6eca2432906301de65dc51e595bd6d1772bd1a (patch)
treee28ddcaae8bdad90bd226225f999a1a17bfbd4f6 /sys/kern
parent2c5d31d55661ef14b1c9a5ed7dca5e9b121309ff (diff)
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_priv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_priv.c b/sys/kern/kern_priv.c
index 307d134e6735..1190cd42e5bb 100644
--- a/sys/kern/kern_priv.c
+++ b/sys/kern/kern_priv.c
@@ -51,7 +51,7 @@
* userland programs, and should not be done without careful consideration of
* the consequences.
*/
-int suser_enabled = 1;
+static int suser_enabled = 1;
SYSCTL_INT(_security_bsd, OID_AUTO, suser_enabled, CTLFLAG_RW,
&suser_enabled, 0, "processes with uid 0 have privilege");
TUNABLE_INT("security.bsd.suser_enabled", &suser_enabled);