diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2021-08-03 19:40:01 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-08-03 17:40:01 +0000 |
commit | a9977b6e7f9c46b817eb38e7bdffa659da9cbda5 (patch) | |
tree | 2a72496c9a2f325f60f19fd75b40834262612fa0 /tests/pure_executables.list | |
parent | 622860bcff04de1086a591a08bf49e9a380bef7c (diff) | |
download | strace-a9977b6e7f9c46b817eb38e7bdffa659da9cbda5.tar.gz |
rtnl_link: implement IFLA_PROTO_DOWN_REASON attribute decoding
IFLA_PROTO_DOWN_REASON is a nested attribute introduced by Linux commit
v5.9-rc1~133^2~77.
* src/xlat/rtnl_ifla_proto_down_reason_attrs.in: New file.
* src/rtnl_link.c: Include "xlat/rtnl_ifla_proto_down_reason_attrs.h".
(ifla_proto_down_reason_nla_decoders): New decoder table.
(decode_ifla_proto_down_reason): New function.
(ifinfomsg_nla_decoders) <[IFLA_PROTO_DOWN_REASON]>: New decoder,
calls decode_ifla_proto_down_reason.
* NEWS: Mention this.
* tests/nlattr_ifla_proto_down_reason.c: New file.
* tests/.gitignore: Add nlattr_ifla_proto_down_reason.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (nlattr_ifla_proto_down_reason): New test.
Diffstat (limited to 'tests/pure_executables.list')
-rwxr-xr-x | tests/pure_executables.list | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pure_executables.list b/tests/pure_executables.list index 892d87fc5..c940251ce 100755 --- a/tests/pure_executables.list +++ b/tests/pure_executables.list @@ -386,6 +386,7 @@ nlattr_ifla_af_spec nlattr_ifla_brport nlattr_ifla_linkinfo nlattr_ifla_port +nlattr_ifla_proto_down_reason nlattr_ifla_xdp nlattr_inet_diag_msg nlattr_inet_diag_req_compat |