aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_key.txt.warn
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-09 07:42:48 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-17 19:03:39 +0100
commit64ca0a371100fc7dfdb20de9263763e46c88a436 (patch)
tree0e417568271dbbcc5817034a624a31d62bf20633 /sys/linux/socket_key.txt.warn
parentf950e82d47572b79581fd6b8355504cddb06a7f4 (diff)
tools/syz-check: add description checking utility
syz-check parses vmlinux dwarf, extracts struct descriptions, compares them with what we have (size, fields, alignment, etc) and produces .warn files. This is first raw version, it can be improved in a number of ways. But it already helped to identify a critical issue #1542 and shows some wrong struct descriptions. Update #590
Diffstat (limited to 'sys/linux/socket_key.txt.warn')
-rw-r--r--sys/linux/socket_key.txt.warn8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/linux/socket_key.txt.warn b/sys/linux/socket_key.txt.warn
new file mode 100644
index 000000000..185d2e058
--- /dev/null
+++ b/sys/linux/socket_key.txt.warn
@@ -0,0 +1,8 @@
+0019: struct send_msghdr_key: no corresponding struct in kernel
+0029: struct iovec_sadb_msg: no corresponding struct in kernel
+0106: struct sadb_ident: no corresponding struct in kernel
+0122: struct sadb_x_policy: bad number of fields: syz=8 kernel=7
+0122: struct sadb_x_policy: bad size: syz=64 kernel=16
+0133: struct sadb_x_ipsecrequest: bad number of fields: syz=9 kernel=7
+0133: struct sadb_x_ipsecrequest: bad size: syz=48 kernel=16
+0196: struct sadb_filter_addr: no corresponding struct in kernel