summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-09-18 14:32:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-09-18 14:32:55 +0000
commitc2261f6c86473ed0962debc5e8b58f5eb3c3e27e (patch)
tree2244b571b393ec8d1b3b62af861bbaa92e821abc /sys
parent4a11b2677190d3b128f6262fe76205963642af3a (diff)
option INSECURE is obsolete
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm/arm/arm32_machdep.c6
-rw-r--r--sys/kern/kern_sysctl.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/arm/arm/arm32_machdep.c b/sys/arch/arm/arm/arm32_machdep.c
index 45e1741dfe6..9db0233d3fd 100644
--- a/sys/arch/arm/arm/arm32_machdep.c
+++ b/sys/arch/arm/arm/arm32_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arm32_machdep.c,v 1.50 2016/09/03 15:07:06 guenther Exp $ */
+/* $OpenBSD: arm32_machdep.c,v 1.51 2016/09/18 14:32:54 deraadt Exp $ */
/* $NetBSD: arm32_machdep.c,v 1.42 2003/12/30 12:33:15 pk Exp $ */
/*
@@ -103,12 +103,8 @@ extern paddr_t msgbufphys;
struct user *proc0paddr;
#ifdef APERTURE
-#ifdef INSECURE
-int allowaperture = 1;
-#else
int allowaperture = 0;
#endif
-#endif
struct consdev *cn_tab;
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 6767229283d..95e37393942 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.309 2016/09/07 17:30:12 natano Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.310 2016/09/18 14:32:54 deraadt Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -259,11 +259,7 @@ char *disknames = NULL;
size_t disknameslen;
struct diskstats *diskstats = NULL;
size_t diskstatslen;
-#ifdef INSECURE
-int securelevel = -1;
-#else
int securelevel;
-#endif
/*
* kernel related system variables.