summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-05-24 22:17:45 +0000
committerdm <dm@cvs.openbsd.org>1996-05-24 22:17:45 +0000
commit17b6c370afec90448ff4849cc4247ad056a0f8b9 (patch)
tree764b4d54d01fca9c2be7d518d62c0eede834a1bb /sys
parent74c609238bc741e013cfab50ba436006335a1530 (diff)
When INSECURE is not defined, leave securelevel in the BSS so the kernel
binary is harder to patch. (Basically undo last change).
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index e0c6b1d56ec..27f46b132f4 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.7 1996/05/23 08:33:15 deraadt Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.8 1996/05/24 22:17:44 dm Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -188,7 +188,7 @@ long hostid;
#ifdef INSECURE
int securelevel = -1;
#else
-int securelevel = 0;
+int securelevel;
#endif
/*