aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_tipc_netlink.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-22 16:38:55 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-22 18:31:15 +0100
commite4c56f390e76bddfd2911006d7036e2970b3f5d1 (patch)
tree91b24d741368d656f00dd5d0578a451e2ad2dec6 /sys/linux/socket_tipc_netlink.txt
parent010feb8758ca9301d6bc8f8508ead9622dec8c80 (diff)
tools/syz-check: improve matching netlink attributes
1. Match policies that has a _suffix in our descriptions (we frequently do this to improve precision or avoid dup names). 2. Rename policies in descriptions to match kernel names. 3. Match policy if there are several such names in kernel. 4. Recognize policies with helper sub-policies. Update #590
Diffstat (limited to 'sys/linux/socket_tipc_netlink.txt')
-rw-r--r--sys/linux/socket_tipc_netlink.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/socket_tipc_netlink.txt b/sys/linux/socket_tipc_netlink.txt
index e55ec18c3..38c10d425 100644
--- a/sys/linux/socket_tipc_netlink.txt
+++ b/sys/linux/socket_tipc_netlink.txt
@@ -135,7 +135,7 @@ tipc_nl_bearer_policy [
TIPC_NLA_BEARER_NAME nlattr[TIPC_NLA_BEARER_NAME, tipc_bearer_name]
TIPC_NLA_BEARER_PROP nlattr[TIPC_NLA_BEARER_PROP, array[tipc_nl_prop_policy]]
TIPC_NLA_BEARER_DOMAIN nlattr[TIPC_NLA_BEARER_DOMAIN, int32]
- TIPC_NLA_BEARER_UDP_OPTS nlattr[TIPC_NLA_BEARER_UDP_OPTS, tipc_bearer_udp]
+ TIPC_NLA_BEARER_UDP_OPTS nlattr[TIPC_NLA_BEARER_UDP_OPTS, tipc_nl_udp_policy]
] [varlen]
tipc_nl_sock_policy [
@@ -178,7 +178,7 @@ tipc_nl_prop_policy [
TIPC_NLA_PROP_MTU nlattr[TIPC_NLA_PROP_MTU, int32]
] [varlen]
-tipc_bearer_udp {
+tipc_nl_udp_policy {
TIPC_NLA_UDP_LOCAL nlattr[TIPC_NLA_UDP_LOCAL, sockaddr_tipc_udp]
TIPC_NLA_UDP_REMOTE nlattr[TIPC_NLA_UDP_REMOTE, sockaddr_tipc_udp]
} [packed]