gvisor/pkg/sentry/socket
Andrei Vagin 8ab0848c70 gvisor/fs: don't update file.offset for sockets, pipes, etc
sockets, pipes and other non-seekable file descriptors don't
use file.offset, so we don't need to update it.

With this change, we will be able to call file operations
without locking the file.mu mutex. This is already used for
pipes in the splice system call.

PiperOrigin-RevId: 253746644
2019-06-18 01:43:29 -07:00
..
control Update canonical repository. 2019-06-13 16:50:15 -07:00
epsocket gvisor/fs: don't update file.offset for sockets, pipes, etc 2019-06-18 01:43:29 -07:00
hostinet gvisor/fs: don't update file.offset for sockets, pipes, etc 2019-06-18 01:43:29 -07:00
netlink gvisor/fs: don't update file.offset for sockets, pipes, etc 2019-06-18 01:43:29 -07:00
rpcinet gvisor/fs: don't update file.offset for sockets, pipes, etc 2019-06-18 01:43:29 -07:00
unix gvisor/fs: don't update file.offset for sockets, pipes, etc 2019-06-18 01:43:29 -07:00
BUILD
socket.go