aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-01-04 14:40:26 +0000
committerMark Johnston <markj@FreeBSD.org>2022-01-11 14:28:42 +0000
commitfcf4b06a5e6a0891f894ffee42a62ad72968eafa (patch)
tree1c5753b150d7531043524a63aeee1f79d0436f07
parent4905ce27b827fb618171f98e4b0cf17c7fb5f962 (diff)
downloadsrc-fcf4b06a5e6a0891f894ffee42a62ad72968eafa.tar.gz
src-fcf4b06a5e6a0891f894ffee42a62ad72968eafa.zip
libsysdecode: Decode sendmsg/recvmsg flags containing an underscore
Otherwise MSG_CMSG_CLOEXEC is not decoded. Sponsored by: The FreeBSD Foundation (cherry picked from commit e2576591b9bdccc187bcd509be760c18c96a7790)
-rw-r--r--lib/libsysdecode/mktables2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables
index 3d152a3a2646..77cfa15bd1f5 100644
--- a/lib/libsysdecode/mktables
+++ b/lib/libsysdecode/mktables
@@ -154,7 +154,7 @@ gen_table "seekwhence" "SEEK_[A-Z]+[[:space:]]+[0-9]+" "sys/
gen_table "fcntlcmd" "F_[A-Z0-9_]+[[:space:]]+[0-9]+[[:space:]]+" "sys/fcntl.h" "F_CANCEL|F_..LCK"
gen_table "mmapflags" "MAP_[A-Z_]+[[:space:]]+0x[0-9A-Fa-f]+" "sys/mman.h"
gen_table "rtpriofuncs" "RTP_[A-Z]+[[:space:]]+[0-9]+" "sys/rtprio.h"
-gen_table "msgflags" "MSG_[A-Z]+[[:space:]]+0x[0-9]+" "sys/socket.h" "MSG_SOCALLBCK|MSG_MORETOCOME|MSG_TLSAPPDATA"
+gen_table "msgflags" "MSG_[A-Z_]+[[:space:]]+0x[0-9]+" "sys/socket.h" "MSG_SOCALLBCK|MSG_MORETOCOME|MSG_TLSAPPDATA"
gen_table "sigcode" "SI_[A-Z]+[[:space:]]+0(x[0-9abcdef]+)?" "sys/signal.h"
gen_table "umtxcvwaitflags" "CVWAIT_[A-Z_]+[[:space:]]+0x[0-9]+" "sys/umtx.h"
gen_table "umtxrwlockflags" "URWLOCK_PREFER_READER[[:space:]]+0x[0-9]+" "sys/umtx.h"