From 23785f9b4c60a66e563857589db0059c6a37c763 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 28 Mar 2016 09:08:23 +0000 Subject: 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@ --- sys/dev/wscons/wsdisplay_compat_usl.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3