gvisor/pkg/sentry/socket/netlink
Ian Lewis 470997ca99 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
2019-10-10 16:55:48 -07:00
..
port Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
route Basic support for 'ip route' 2019-07-31 20:30:09 -07:00
BUILD Allow for zero byte iovec with MSG_PEEK | MSG_TRUNC in recvmsg. 2019-10-10 16:55:48 -07:00
message.go Update canonical repository. 2019-06-13 16:50:15 -07:00
provider.go gvisor/fs: don't update file.offset for sockets, pipes, etc 2019-06-18 01:43:29 -07:00
socket.go Allow for zero byte iovec with MSG_PEEK | MSG_TRUNC in recvmsg. 2019-10-10 16:55:48 -07:00