]> granicus.if.org Git - strace/commit
xlat: provide fallback definitions for NETLINK_* constants v4.15
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 14 Dec 2016 08:09:10 +0000 (08:09 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 14 Dec 2016 08:09:10 +0000 (08:09 +0000)
commit3a838cd31ac4876280911c8f9e86c5a2d2ba4a47
tree7bb5a283cc0aed77490130951f184c928a9241c7
parent76d4eee64041428c7025051a4d4b215e868f1f11
xlat: provide fallback definitions for NETLINK_* constants

As new constants have been added gradually over kernel releases, define
all constant values to make newer constants decoded properly when strace
is built with older kernel headers.

* xlat/netlink_protocols.in: Add default values for constants.
* net.c [!NETLINK_SOCK_DIAG && NETLINK_INET_DIAG]: Remove.
* socketutils.c: Likewise.
net.c
socketutils.c
xlat/netlink_protocols.in