gvisor/pkg/sentry/socket
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
..
control net/tcp/setockopt: impelment setsockopt(fd, SOL_TCP, TCP_INQ) 2019-07-18 15:41:04 -07:00
hostinet hostinet: fix parsing route netlink message 2019-08-19 12:10:21 -07:00
netfilter Read iptables via sockopts. 2019-08-19 10:05:59 -07:00
netlink Allow for zero byte iovec with MSG_PEEK | MSG_TRUNC in recvmsg. 2019-10-10 16:55:48 -07:00
netstack Fix bugs in fragment handling. 2019-10-10 15:14:55 -07:00
rpcinet internal BUILD file cleanup. 2019-09-23 08:25:13 -07:00
unix Rename epsocket to netstack. 2019-10-07 13:57:59 -07:00
BUILD Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
socket.go Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00