summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2006-09-18 13:49:57 +0000
committermaxim <maxim@FreeBSD.org>2006-09-18 13:49:57 +0000
commit7914c189826d0f105304e37a72d60a9aa2c1cf59 (patch)
tree87c4644ee870f55a2626c9ff4dd170418e3cdb34
parentecf34f450410ca3aac345b52bece9c0fb4ae459c (diff)
downloadFreeBSD-src-7914c189826d0f105304e37a72d60a9aa2c1cf59.zip
FreeBSD-src-7914c189826d0f105304e37a72d60a9aa2c1cf59.tar.gz
o optname, the third {set,get}sockopt(2) argument, is an enum, not a bitmap.
Treat it accordingly. PR: bin/101642 MFC after: 3 weeks
-rw-r--r--usr.bin/kdump/mksubr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/mksubr b/usr.bin/kdump/mksubr
index cde954b..6e65650 100644
--- a/usr.bin/kdump/mksubr
+++ b/usr.bin/kdump/mksubr
@@ -281,7 +281,6 @@ auto_or_type "getfsstatflagsname" "MNT_[A-Z]+[[:space:]]+[1-9][0-9]*" "sys/mount
auto_or_type "mountflagsname" "MNT_[A-Z]+[[:space:]]+0x[0-9]+" "sys/mount.h"
auto_or_type "rebootoptname" "RB_[A-Z]+[[:space:]]+0x[0-9]+" "sys/reboot.h"
auto_or_type "flockname" "LOCK_[A-Z]+[[:space:]]+0x[0-9]+" "sys/fcntl.h"
-auto_or_type "sockoptname" "SO_[A-Z]+[[:space:]]+0x[0-9]+" "sys/socket.h"
auto_or_type "sockdomainname" "PF_[A-Z]+[[:space:]]+" "sys/socket.h"
auto_or_type "socktypename" "SOCK_[A-Z]+[[:space:]]+[1-9]+[0-9]*" "sys/socket.h"
auto_or_type "thrcreateflagsname" "THR_[A-Z]+[[:space:]]+0x[0-9]+" "sys/thr.h"
@@ -307,6 +306,7 @@ auto_switch_type "sigprocmaskhowname" "SIG_[A-Z]+[[:space:]]+[0-9]+" "sys/signal
auto_switch_type "lio_listioname" "LIO_(NO)?WAIT[[:space:]]+[0-9]+" "aio.h"
auto_switch_type "minheritname" "INHERIT_[A-Z]+[[:space:]]+[0-9]+" "sys/mman.h"
auto_switch_type "quotactlname" "Q_[A-Z]+[[:space:]]+0x[0-9]+" "ufs/ufs/quota.h"
+auto_switch_type "sockoptname" "SO_[A-Z]+[[:space:]]+0x[0-9]+" "sys/socket.h"
cat <<_EOF_
/*
OpenPOWER on IntegriCloud