gvisor/pkg
Ayush Ranjan 8da9f8a12c Migrate from using io.ReadSeeker to io.ReaderAt.
This provides the following benefits:
- We can now use pkg/fd package which does not take ownership
  of the file descriptor. So it does not close the fd when garbage collected.
  This reduces scope of errors from unexpected garbage collection of io.File.
- It enforces the offset parameter in every read call.
  It does not affect the fd offset nor is it affected by it. Hence reducing
  scope of error of using stale offsets when reading.
- We do not need to serialize the usage of any global file descriptor anymore.
  So this drops the mutual exclusion req hence reducing complexity and
  congestion.

PiperOrigin-RevId: 260635174
2019-07-29 20:12:37 -07:00
..
abi Fix up and add some iptables ABI. 2019-07-22 17:06:18 -07:00
amutex Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
atomicbitops Update canonical repository. 2019-06-13 16:50:15 -07:00
binary Update canonical repository. 2019-06-13 16:50:15 -07:00
bits Update canonical repository. 2019-06-13 16:50:15 -07:00
bpf Update canonical repository. 2019-06-13 16:50:15 -07:00
compressio Update canonical repository. 2019-06-13 16:50:15 -07:00
control Update canonical repository. 2019-06-13 16:50:15 -07:00
cpuid Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
eventchannel Rate limit the unimplemented syscall event handler. 2019-07-29 17:12:50 -07:00
fd Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
fdchannel Add //pkg/fdchannel. 2019-06-25 15:38:11 -07:00
fdnotifier Update canonical repository. 2019-06-13 16:50:15 -07:00
flipcall Add //pkg/flipcall. 2019-06-21 14:47:04 -07:00
fspath Sentry virtual filesystem, v2 2019-07-18 15:10:29 -07:00
gate Update canonical repository. 2019-06-13 16:50:15 -07:00
ilist Update canonical repository. 2019-06-13 16:50:15 -07:00
linewriter Update canonical repository. 2019-06-13 16:50:15 -07:00
log Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
memutil Update canonical repository. 2019-06-13 16:50:15 -07:00
metric Update canonical repository. 2019-06-13 16:50:15 -07:00
p9 Drop local_server support. 2019-06-28 20:35:10 -07:00
procid Update canonical repository. 2019-06-13 16:50:15 -07:00
rand Update canonical repository. 2019-06-13 16:50:15 -07:00
refs Remove map from fd_map, change to fd_table. 2019-07-02 19:28:59 -07:00
seccomp Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
secio Update canonical repository. 2019-06-13 16:50:15 -07:00
segment Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
sentry Migrate from using io.ReadSeeker to io.ReaderAt. 2019-07-29 20:12:37 -07:00
sleep Update canonical repository. 2019-06-13 16:50:15 -07:00
state Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
syserr netstack/udp: connect with the AF_UNSPEC address family means disconnect 2019-07-03 14:19:02 -07:00
syserror Cleanup straggling syscall dependencies. 2019-07-09 16:18:02 -07:00
tcpip Add support for a subnet prefix length on interface network addresses 2019-07-24 13:42:14 -07:00
tmutex Update canonical repository. 2019-06-13 16:50:15 -07:00
unet Use x/sys/unix for sentry/host interaction; abi is for guest/sentry. 2019-07-29 17:19:09 -07:00
urpc Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
waiter Update canonical repository. 2019-06-13 16:50:15 -07:00