summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2014-08-20 06:23:04 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2014-08-20 06:23:04 +0000
commitf99b5f4858a1317d198eea342b3b30482c0b5536 (patch)
tree909973b2646772fb22e81e0f8189a6177d2a218f /sys/kern
parenta47828983e61e0be4f4cbbc4a3385039c90ad272 (diff)
Bye bye /dev/crypto
The interface has been disabled by default for about 4 years and currently there's not much value in having it around at all. ok deraadt
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sysctl.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index d0cd8afbabd..8d77365808d 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.261 2014/08/18 05:11:03 dlg Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.262 2014/08/20 06:23:03 mikeb Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -268,11 +268,6 @@ kern_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
extern int usermount, nosuidcoredump;
extern long cp_time[CPUSTATES];
extern int stackgap_random;
-#ifdef CRYPTO
- extern int usercrypto;
- extern int userasymcrypto;
- extern int cryptodevallowsoft;
-#endif
extern int maxlocksperuid;
extern int pool_debug;
@@ -519,16 +514,6 @@ kern_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
case KERN_SYSVIPC_INFO:
return (sysctl_sysvipc(name + 1, namelen - 1, oldp, oldlenp));
#endif
-#ifdef CRYPTO
- case KERN_USERCRYPTO:
- return (sysctl_int(oldp, oldlenp, newp, newlen, &usercrypto));
- case KERN_USERASYMCRYPTO:
- return (sysctl_int(oldp, oldlenp, newp, newlen,
- &userasymcrypto));
- case KERN_CRYPTODEVALLOWSOFT:
- return (sysctl_int(oldp, oldlenp, newp, newlen,
- &cryptodevallowsoft));
-#endif
case KERN_SPLASSERT:
return (sysctl_int(oldp, oldlenp, newp, newlen,
&splassert_ctl));