diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2018-08-19 14:30:59 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-11-11 08:00:00 +0000 |
commit | 7d6d181720d56537a4f7975fb4d38febb4b2b54a (patch) | |
tree | e4548d5eeb90696f049c2c3929236692f8abd905 /tests/pure_executables.list | |
parent | f76cf11ea25386abfe5480a45b61c2ccdc22c6a0 (diff) | |
download | strace-7d6d181720d56537a4f7975fb4d38febb4b2b54a.tar.gz |
netlink_route: implement RTM_NEWCACHEREPORT message decoding
* bundled/linux/include/uapi/linux/mroute.h: New file, copied from
headers_install'ed Linux kernel v5.15.
* bundled/linux/include/uapi/linux/mroute6.h: Likewise.
* bundled/Makefile.am (EXTRA_DIST): Add them.
* src/xlat/rtnl_family.in: New file.
* src/xlat/rtnl_ip6mra_creport_attr.in: Likewise.
* src/xlat/rtnl_ip6mra_msg_types.in: Likewise.
* src/xlat/rtnl_ipmra_creport_attr.in: Likewise.
* src/xlat/rtnl_ipmra_msg_types.in: Likewise.
* src/rtnl_cachereport.c: Likewise.
* src/Makefile.am (strace_SOURCES): Add it.
* src/netlink_route.c (route_decoders) <[RTM_NEWCACHEREPORT - RTM_BASE]>:
New decoder, call decode_cachereport.
* src/netlink_route.h (decode_cachereport): New declaration.
* tests/.gitignore: Add nlattr_cachereport, nlattr_cachereport-Xabbrev,
nlattr_cachereport-Xraw, and nlattr_cachereport-Xverbose.
* tests/pure_executables.list: Likewise.
* tests/netlink_route.c (test_rtnl_rtgen) <types>: Add
RTM_NEWCACHEREPORT.
(test_rtnl_rtgen): Move RTM_NEWCACHEREPORT-related unknown message
checks from...
(main): ...here. Remove the unsupported message check
for RTM_NEWCACHEREPORT.
* tests/nlattr_cachereport.c: New file.
* tests/nlattr_cachereport-Xabbrev.c: Likewise.
* tests/nlattr_cachereport-Xraw.c: Likewise.
* tests/nlattr_cachereport-Xverbose.c: Likewise.
* tests/gen_tests.in (nlattr_cachereport, nlattr_cachereport-Xabbrev,
nlattr_cachereport-Xraw, nlattr_cachereport-Xverbose): New tests.
* NEWS: Mention it.
Diffstat (limited to 'tests/pure_executables.list')
-rwxr-xr-x | tests/pure_executables.list | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pure_executables.list b/tests/pure_executables.list index 90ead2b8d..f5d61ea84 100755 --- a/tests/pure_executables.list +++ b/tests/pure_executables.list @@ -383,6 +383,10 @@ nfnetlink_queue nfnetlink_ulog nlattr nlattr_br_port_msg +nlattr_cachereport +nlattr_cachereport-Xabbrev +nlattr_cachereport-Xraw +nlattr_cachereport-Xverbose nlattr_crypto_user_alg nlattr_dcbmsg nlattr_fib_rule_hdr |