Hi, OpenBSD has stopped using the SVr4 KDENABIO/KDDISABIO ioctls for at least 10 years. No need for special treatement on i386.
ok?
Index: wsdisplay_compat_usl.c
===================================================================
RCS file: /cvs/OpenBSD/src/sys/dev/wscons/wsdisplay_compat_usl.c,v
retrieving revision 1.29
diff -u -r1.29 wsdisplay_compat_usl.c
--- wsdisplay_compat_usl.c 3 Mar 2016 18:00:49 -0000 1.29
+++ wsdisplay_compat_usl.c 27 Mar 2016 20:44:59 -0000
@@ -392,14 +392,6 @@
#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 @@
* issue these ioctls anyway.
*/
return (0);
-#endif
+
case KDSETRAD:
/* XXX ignore for now */
return (0);
--
Matthieu Herrb
signature.asc
Description: PGP signature
