[PATCH v5 2/3] netlink: introduce a dummy netlink attributes parser

Dmitry V. Levin ldv at altlinux.org
Wed Jun 21 15:46:19 UTC 2017


On Wed, Jun 21, 2017 at 10:11:24PM +0800, JingPiao Chen wrote:
> * linux/unix_diag.h (UNIX_DIAG_*): New enum.
> * nlattr.c: New file.
> * nlattr.h: Likewise.
> * Makefile.am (strace_SOURCES): Add them.
> * netlink_sock_diag.c: Include "nlattr.h" and "xlat/unix_diag_attrs.h".
> (decode_unix_diag_msg): Use decode_nlattr.
> * xlat/unix_diag_attrs.in: New file.

It's a basic parser, not a dummy one.  Otherwise OK.


-- 
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/20170621/38d50e5d/attachment.bin>


More information about the Strace-devel mailing list