diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-23 14:07:01 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-23 15:05:21 +0100 |
| commit | 0e8428d26ffd80789aa83442676e6fb800e9c0ff (patch) | |
| tree | 5d110f7952fcdc8a64e0acb1f714d6d54505d3ff /sys/linux/socket.txt.warn | |
| parent | 9ab9b329d9c8d1477d5b2921671701d9a7a6d2cd (diff) | |
tools/syz-check: add limited checking of varlen structs
Stop at the fist varlen field, but check the preceeding ones.
Frequently the varlen array is the last field,
so we should get good checking for these cases.
Update #590
Diffstat (limited to 'sys/linux/socket.txt.warn')
| -rw-r--r-- | sys/linux/socket.txt.warn | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/linux/socket.txt.warn b/sys/linux/socket.txt.warn index 2da534fc9..905da402f 100644 --- a/sys/linux/socket.txt.warn +++ b/sys/linux/socket.txt.warn @@ -1,9 +1,5 @@ compiler: unsupported syscall: accept due to missing const __NR_accept [386] no-such-struct: sock_pair -bad-field-number: sockaddr: syz=19 kernel=2 -bad-field-size: sockaddr.in/sa_family: syz=16 kernel=2 -bad-field-offset: sockaddr.ax25/sa_data: syz=16 kernel=2 -bad-field-size: sockaddr.ax25/sa_data: syz=16 kernel=14 no-such-struct: sockaddr_storage no-such-struct: sockaddr_generic no-such-struct: sockaddr_storage_generic @@ -23,12 +19,6 @@ no-such-struct: vlan_args no-such-struct: vlan_args_u no-such-struct: devname_mask no-such-struct: ifs_ifsu -bad-field-size: ifconf.req/ifc_len: syz=16 kernel=4 [amd64,arm64] -bad-field-size: ifconf.req/ifc_len: syz=8 kernel=4 [386,arm] -bad-field-offset: ifconf.buf/ifc_ifcu: syz=16 kernel=8 [amd64,arm64] -bad-field-offset: ifconf.buf/ifc_ifcu: syz=8 kernel=4 [386,arm] -bad-field-size: ifconf.buf/ifc_ifcu: syz=16 kernel=8 [amd64,arm64] -bad-field-size: ifconf.buf/ifc_ifcu: syz=8 kernel=4 [386,arm] no-such-struct: ifconf_buf no-such-struct: ifconf_req no-such-struct: brctl_arg @@ -39,3 +29,5 @@ no-such-struct: ethtool_flow_union no-such-struct: ethtool_rx_ntuple no-such-struct: ethtool_rx_ntuple_flow_spec no-such-struct: ethtool_rx_ntuple_flow_spec_union +bad-field-size: ethtool_per_queue_op.queue_mask: syz=16384 kernel=512 +bad-field-size: ethtool_link_settings.reserved/transceiver: syz=32 kernel=1 |
