diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-12-04 17:41:01 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-12-04 17:41:01 +0000 |
commit | 4625cf7f07987f1032970e7a918594750693eb83 (patch) | |
tree | 1e9bb85014fa3c35591db6c628512f6a30788040 /usr.bin | |
parent | 5ad40dcc4d76e03b6e8408bb4373724569b9deb3 (diff) |
grok systrace ioctl names
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/Makefile | 3 | ||||
-rw-r--r-- | usr.bin/kdump/mkioctls | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index 1cd0f8658d2..0e1ff7df91c 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2002/11/26 13:45:17 mickey Exp $ +# $OpenBSD: Makefile,v 1.6 2002/12/04 17:41:00 mickey Exp $ LDSTATIC=${STATIC} PROG= kdump @@ -11,6 +11,7 @@ ioctl.c: mkioctls /bin/sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \ ${DESTDIR}/usr/include/sys/ioctl_compat.h \ ${DESTDIR}/usr/include/dev/wscons/wsconsio.h \ + ${DESTDIR}/usr/include/dev/systrace.h \ ${DESTDIR}/usr/include/sys/ataio.h \ ${DESTDIR}/usr/include/sys/audioio.h \ ${DESTDIR}/usr/include/sys/cdio.h \ diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index 7eb806a3854..ad9dabd725c 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: mkioctls,v 1.9 2002/11/26 18:26:04 mickey Exp $ +# $OpenBSD: mkioctls,v 1.10 2002/12/04 17:41:00 mickey Exp $ # # Copyright (c) 1994 @@ -64,6 +64,7 @@ BEGIN { print "#include <sys/scanio.h>" print "#include <sys/scsiio.h>" print "#include <dev/wscons/wsconsio.h>" + print "#include <dev/systrace.h>" print "#define COMPAT_43" print "#include <sys/ioctl.h>" print "" @@ -75,7 +76,7 @@ BEGIN { print "" } -/^#[ ]*define[ ]*(ATAIO|AUDIO_|CDIO|CHIO|DIOC|MIDI_|SEQUENCER_|TIO|FIO|FIBMAP|MTIOC|SIO|OSIO|PCIOC|RIOC|SCIOC|OSCIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX)[A-Z]*[ ]*_IO/ { +/^#[ ]*define[ ]*(ATAIO|AUDIO_|CDIO|CHIO|DIOC|MIDI_|SEQUENCER_|TIO|FIO|FIBMAP|MTIOC|SIO|OSIO|PCIOC|RIOC|STRIOC|SCIOC|OSCIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX)[A-Z]*[ ]*_IO/ { # find where the name starts for (i = 1; i <= NF; i++) |