diff options
author | 2014-07-11 13:08:03 +0000 | |
---|---|---|
committer | 2014-07-11 13:08:03 +0000 | |
commit | bd8634b16112d3f2ceb2ddba4eaf0966b169ad56 (patch) | |
tree | 4d8458333d7829742eb6c3ffee04f71aee22683f | |
parent | Fix incorrect mlinks (diff) | |
download | wireguard-openbsd-bd8634b16112d3f2ceb2ddba4eaf0966b169ad56.tar.xz wireguard-openbsd-bd8634b16112d3f2ceb2ddba4eaf0966b169ad56.zip |
Grok the new /dev/klog LIOCSFD ioctl associated with sendsyslog(2)
ok matthew guenther miod tedu
-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 185f966f719..b5704e26408 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.27 2014/03/18 09:11:31 kettenis Exp $ +# $OpenBSD: Makefile,v 1.28 2014/07/11 13:08:03 deraadt Exp $ LDSTATIC=${STATIC} PROG= kdump @@ -27,6 +27,7 @@ ioctl.c: ${.CURDIR}/Makefile ${.CURDIR}/mkioctls ${SYS_DIR}/net80211/ieee80211_ioctl.h \ ${SYS_DIR}/netinet6/in6_var.h \ ${SYS_DIR}/sys/tty.h \ + ${SYS_DIR}/sys/syslog.h \ ${SYS_DIR}/sys/ataio.h \ ${SYS_DIR}/sys/audioio.h \ ${SYS_DIR}/sys/cdio.h \ diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls index d215313e8fe..648e8fb798e 100644 --- a/usr.bin/kdump/mkioctls +++ b/usr.bin/kdump/mkioctls @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: mkioctls,v 1.32 2014/03/18 09:11:31 kettenis Exp $ +# $OpenBSD: mkioctls,v 1.33 2014/07/11 13:08:03 deraadt Exp $ # # Copyright (c) 1994 @@ -72,6 +72,7 @@ BEGIN { print "#include <sys/scanio.h>" print "#include <sys/scsiio.h>" print "#include <sys/tty.h>" + print "#include <sys/syslog.h>" print "#include <sys/videoio.h>" print "#include <crypto/cryptodev.h>" print "#include <dev/biovar.h>" @@ -90,7 +91,7 @@ BEGIN { print "" } -/^[ ]*#[ ]*define[ ]+(ATAIO|AUDIO_|BIOC|CDIO|CIOC|CHIO|DIOC|DRM|GPIO|TIO|FIO|MTIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PPPIOC|PPPOE|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|USB|VIDIOC|VNDIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX|PTM)[A-Z_0-9]*[ ]+(DRM)?_IO/ { +/^[ ]*#[ ]*define[ ]+(ATAIO|AUDIO_|BIOC|CDIO|CIOC|CHIO|DIOC|DRM|GPIO|TIO|FIO|MTIOC|LIOC|SIO|OSIO|SESIOC_|SIOC|PCIOC|PPPIOC|PPPOE|RIOC|RND|STRIOC|SCIOC|OSCIOC|TUN|USB|VIDIOC|VNDIOC|WSKBD|WSMOUSE|WSDISPLAY|WSMUX|PTM)[A-Z_0-9]*[ ]+(DRM)?_IO/ { # find where the name starts for (i = 1; i <= NF; i++) |