gvisor/pkg/sentry
Ian Gudger ba828233b9 Clear msghdr flags on successful recvmsg.
.net sets these flags to -1 and then uses their result, especting it to be
zero.

Does not set actual flags (e.g. MSG_TRUNC), but setting to zero is more correct
than what we did before.

PiperOrigin-RevId: 239657951
Change-Id: I89c5f84bc9b94a2cd8ff84e8ecfea09e01142030
2019-03-21 13:19:11 -07:00
..
arch Change /proc/PID/cmdline to read environment vector. 2019-02-05 10:02:06 -08:00
context Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
control Add profiling commands to runsc 2019-03-11 11:47:30 -07:00
device Remove license comments 2019-01-31 11:12:53 -08:00
fs netstack: reduce MSS from SYN to account tcp options 2019-03-19 17:33:20 -07:00
hostcpu
inet Remove license comments 2019-01-31 11:12:53 -08:00
kernel gvisor: don't allocate a new credential object on fork 2019-03-20 18:41:00 -07:00
limits
loader Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
memmap Clarify the platform.File interface. 2019-03-12 10:29:16 -07:00
memutil Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
mm Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
pgalloc Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
platform Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
safemem Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
sighandling
socket Record sockets created during accept(2) for all families. 2019-03-20 14:31:16 -07:00
state Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
strace
syscalls Clear msghdr flags on successful recvmsg. 2019-03-21 13:19:11 -07:00
time
unimpl Remove license comments 2019-01-31 11:12:53 -08:00
uniqueid Remove license comments 2019-01-31 11:12:53 -08:00
usage Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
usermem Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
watchdog Remove license comments 2019-01-31 11:12:53 -08:00
BUILD