summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/mm/syscalls.go
diff options
context:
space:
mode:
authorBrian Geffon <bgeffon@google.com>2018-06-22 10:18:19 -0700
committerShentubot <shentubot@google.com>2018-06-22 10:19:25 -0700
commit5d45f88f2c2840123e2f5ec2e45ac6d5b5a5729f (patch)
treed20dc462747456e626fac898d02e36a188e00f73 /pkg/sentry/mm/syscalls.go
parente1aee51d09d650cca8d098050665c2d49d859e26 (diff)
Netstack should return EOF on closed read.
The shutdown behavior where we return EAGAIN for sockets which are non-blocking is only correct for packet based sockets. SOCK_STREAM sockets should return EOF. PiperOrigin-RevId: 201703055 Change-Id: I20b25ceca7286c37766936475855959706fc5397
Diffstat (limited to 'pkg/sentry/mm/syscalls.go')
0 files changed, 0 insertions, 0 deletions