gvisor/pkg
Brian Geffon 2f3895d6f7 rpcinet is not correctly handling MSG_TRUNC on recvmsg(2).
MSG_TRUNC can cause recvmsg(2) to return a value larger than
the buffer size. In this situation it's an indication that the
buffer was completely filled and that the msg was truncated.
Previously in rpcinet we were returning the buffer size but we
should actually be returning the payload length as returned by
the syscall.

PiperOrigin-RevId: 199814221
Change-Id: If09aa364219c1bf193603896fcc0dc5c55e85d21
2018-06-08 10:33:25 -07:00
..
abi Implement sysv shm. 2018-05-17 15:06:19 -07:00
amutex Check in gVisor. 2018-04-28 01:44:26 -04:00
atomicbitops Check in gVisor. 2018-04-28 01:44:26 -04:00
binary Check in gVisor. 2018-04-28 01:44:26 -04:00
bits Check in gVisor. 2018-04-28 01:44:26 -04:00
bpf Add SyscallRules that supports argument filtering 2018-06-01 13:40:52 -07:00
compressio Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
control Check in gVisor. 2018-04-28 01:44:26 -04:00
cpuid Fix misspellings 2018-05-07 16:38:01 -07:00
dhcp Implement SO_TIMESTAMP 2018-05-01 22:11:49 -07:00
eventchannel Check in gVisor. 2018-04-28 01:44:26 -04:00
fd Check in gVisor. 2018-04-28 01:44:26 -04:00
gate Add mising license headers. 2018-04-28 18:10:24 -07:00
hashio Check in gVisor. 2018-04-28 01:44:26 -04:00
ilist Check in gVisor. 2018-04-28 01:44:26 -04:00
linewriter Check in gVisor. 2018-04-28 01:44:26 -04:00
log Fix misspellings. 2018-05-03 14:06:13 -07:00
metric Check in gVisor. 2018-04-28 01:44:26 -04:00
p9 Fix warning: redundant if ...; err != nil check, just return error instead. 2018-05-08 09:51:56 -07:00
refs Implement sysv shm. 2018-05-17 15:06:19 -07:00
seccomp Add SyscallRules that supports argument filtering 2018-06-01 13:40:52 -07:00
secio Check in gVisor. 2018-04-28 01:44:26 -04:00
segment Check in gVisor. 2018-04-28 01:44:26 -04:00
sentry rpcinet is not correctly handling MSG_TRUNC on recvmsg(2). 2018-06-08 10:33:25 -07:00
sleep Add mising license headers. 2018-04-28 18:10:24 -07:00
state state: serialize string as bytes instead of protobuf string. 2018-05-08 17:23:50 -07:00
sync Check in gVisor. 2018-04-28 01:44:26 -04:00
syserr Clarify that syserr.New must only be called during init 2018-05-22 11:54:31 -07:00
syserror Check in gVisor. 2018-04-28 01:44:26 -04:00
tcpip netstack: make TCP endpoint closed and error state cleanup work synchronous. 2018-06-05 15:44:38 -07:00
tmutex Check in gVisor. 2018-04-28 01:44:26 -04:00
unet Check in gVisor. 2018-04-28 01:44:26 -04:00
urpc Remove dead code in urpc 2018-05-05 01:22:23 -07:00
waiter Poll should wake up on ECONNREFUSED with no mask. 2018-05-24 15:46:50 -07:00