summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-03-28 09:08:23 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2016-03-28 09:08:23 +0000
commit23785f9b4c60a66e563857589db0059c6a37c763 (patch)
tree1c152849724955baa1ce06d3653daf7c7dd6a45d /sys
parent0a89790535b4b8aa03641e818b0d28a16d8054b1 (diff)
OpenBSD has stopped using the SVr4 KDENABIO/KDDISABIO ioctls for at
least 10 years. No need for special treatement on i386. ok deraadt@, millert@, jca@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wsdisplay_compat_usl.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/wscons/wsdisplay_compat_usl.c b/sys/dev/wscons/wsdisplay_compat_usl.c
index 2b6be4afc0c..3ebfef4b60a 100644
--- a/sys/dev/wscons/wsdisplay_compat_usl.c
+++ b/sys/dev/wscons/wsdisplay_compat_usl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay_compat_usl.c,v 1.29 2016/03/03 18:00:49 naddy Exp $ */
+/* $OpenBSD: wsdisplay_compat_usl.c,v 1.30 2016/03/28 09:08:22 matthieu Exp $ */
/* $NetBSD: wsdisplay_compat_usl.c,v 1.12 2000/03/23 07:01:47 thorpej Exp $ */
/*
@@ -392,14 +392,6 @@ wsdisplay_usl_ioctl2(struct wsdisplay_softc *sc, struct wsscreen *scr,
#undef d
return (0);
-#if defined(__i386__)
- case KDENABIO:
- if (suser(p, 0) || securelevel > 0)
- return (EPERM);
- /* FALLTHROUGH */
- case KDDISABIO:
- return (0);
-#else
case KDENABIO:
case KDDISABIO:
/*
@@ -407,7 +399,7 @@ wsdisplay_usl_ioctl2(struct wsdisplay_softc *sc, struct wsscreen *scr,
* issue these ioctls anyway.
*/
return (0);
-#endif
+
case KDSETRAD:
/* XXX ignore for now */
return (0);