[strace/strace] static assertion failed: "XFRM_MSG_MAPPING != 0x26" (#198)

Chris Packham notifications at github.com
Wed Oct 6 21:37:05 UTC 2021


When compiling with headers from the tip of Linus's linux tree (5.15.0-rc4) I get the following error

```
strace: In file included from static_assert.h:11,
strace:                  from print_fields.h:12,
strace:                  from defs.h:1901,
strace:                  from netlink.c:10:
strace: xlat/nl_xfrm_types.h:162:1: error: static assertion failed: "XFRM_MSG_MAPPING != 0x26"
strace:  static_assert((XFRM_MSG_MAPPING) == (0x26), "XFRM_MSG_MAPPING != 0x26");
strace:  ^~~~~~~~~~~~~
```

It looks like linux commit 2d151d39073a ("xfrm: Add possibility to set the default to block if we have no policy") added some XFRM messages and the numbers shifted.

I'm not sure if this is a strace problem or a linux problem so I'm reporting it in both places.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/198
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20211006/75e11ddf/attachment.htm>


More information about the Strace-devel mailing list