gvisor/pkg/sentry/socket/rpcinet
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
..
conn Update canonical repository. 2019-06-13 16:50:15 -07:00
notifier Update canonical repository. 2019-06-13 16:50:15 -07:00
BUILD Update canonical repository. 2019-06-13 16:50:15 -07:00
device.go Update canonical repository. 2019-06-13 16:50:15 -07:00
rpcinet.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket.go gvisor/fs: don't update file.offset for sockets, pipes, etc 2019-06-18 01:43:29 -07:00
stack.go Update canonical repository. 2019-06-13 16:50:15 -07:00
stack_unsafe.go Update canonical repository. 2019-06-13 16:50:15 -07:00
syscall_rpc.proto Allow and document bug ids in gVisor codebase. 2019-04-29 14:04:14 -07:00