From c2261f6c86473ed0962debc5e8b58f5eb3c3e27e Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 18 Sep 2016 14:32:55 +0000 Subject: option INSECURE is obsolete --- sys/arch/arm/arm/arm32_machdep.c | 6 +----- sys/kern/kern_sysctl.c | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'sys') 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. -- cgit v1.2.3