[PATCH] tests: introduce NLMSG_ATTR macro

Dmitry V. Levin ldv at altlinux.org
Tue Jun 27 11:26:54 UTC 2017


On Tue, Jun 27, 2017 at 04:18:23PM +0800, JingPiao Chen wrote:
> * tests/tests.h (NLMSG_ATTR): New macro.
> * tests/nlattr.c (test_nlattr, test_nla_type): Use it.

This use of NLMSG_* namespace doesn't look very safe,
but we can easily fix it later if necessary.
Applied, thanks.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170627/35a8f397/attachment.bin>


More information about the Strace-devel mailing list