diff options
author | Ian Lewis <ianlewis@google.com> | 2019-10-10 16:54:30 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-10 16:55:48 -0700 |
commit | 470997ca9990f2a985b7c29f5f27dc56b5fbec32 (patch) | |
tree | 6545a5f1a76b63309d851635ae8aa0219b56d129 /test/util/logging.cc | |
parent | c7e901f47a09eaac56bd4813227edff016fa6bff (diff) |
Allow for zero byte iovec with MSG_PEEK | MSG_TRUNC in recvmsg.
This allows for peeking at the length of the next message on a netlink socket
without pulling it off the socket's buffer/queue, allowing tools like 'ip' to
work.
This CL also fixes an issue where dump_done_errno was not included in the
NLMSG_DONE messages payload.
Issue #769
PiperOrigin-RevId: 274068637
Diffstat (limited to 'test/util/logging.cc')
0 files changed, 0 insertions, 0 deletions