gvisor/pkg
Dean Deng 82bae30cee Port netstack, hostinet, and netlink sockets to VFS2.
All three follow the same pattern:
1. Refactor VFS1 sockets into socketOpsCommon, so that most of the methods can
   be shared with VFS2.
2. Create a FileDescriptionImpl with the corresponding socket operations,
   rewriting the few that cannot be shared with VFS1.
3. Set up a VFS2 socket provider that creates a socket by setting up a dentry
   in the global Kernel.socketMount and connecting it with a new
   FileDescription.

This mostly completes the work for porting sockets to VFS2, and many syscall
tests can be enabled as a result.
There are several networking-related syscall tests that are still not passing:
1. net gofer tests
2. socketpair gofer tests
2. sendfile tests (splice is not implemented in VFS2 yet)

Updates #1478, #1484, #1485

PiperOrigin-RevId: 309457331
2020-05-01 12:54:41 -07:00
..
abi Enable automated marshalling for signals and the arch package. 2020-04-25 23:56:04 -07:00
amutex Standardize on tools directory. 2020-01-27 12:21:00 -08:00
atomicbitops Automated rollback of changelist 303799678 2020-04-01 11:06:26 -07:00
binary Move Align{Up,Down} into binary package. 2020-02-11 11:09:31 -08:00
bits Misc fixes to make stat_test pass (almost) 2020-03-25 14:59:15 -07:00
bpf Standardize on tools directory. 2020-01-27 12:21:00 -08:00
buffer Clean-up buffer implementation. 2020-03-11 19:52:14 -07:00
compressio Standardize on tools directory. 2020-01-27 12:21:00 -08:00
context Remove obsolete TODOs for b/38173783 2020-04-13 11:02:14 -07:00
control Standardize on tools directory. 2020-01-27 12:21:00 -08:00
cpuid Fix 386 build tags 2020-04-01 10:00:03 -07:00
eventchannel Fix all printf formatting errors. 2020-04-08 10:14:34 -07:00
fd Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fdchannel Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fdnotifier Standardize on tools directory. 2020-01-27 12:21:00 -08:00
flipcall Specify a memory file in platform.New(). 2020-04-22 17:50:10 -07:00
fspath Port most syscalls to VFS2. 2020-02-25 13:37:34 -08:00
gate Deflake third_party/gvisor/pkg/gate/gate_test 2020-03-18 17:42:29 -07:00
gohacks Port most syscalls to VFS2. 2020-02-25 13:37:34 -08:00
goid Standardize on tools directory. 2020-01-27 12:21:00 -08:00
ilist Refactor software GSO code. 2020-04-03 18:35:55 -07:00
linewriter Standardize on tools directory. 2020-01-27 12:21:00 -08:00
log Fix all copy locks violations. 2020-04-08 10:00:14 -07:00
memutil Standardize on tools directory. 2020-01-27 12:21:00 -08:00
metric Sentry metrics updates. 2020-04-21 09:36:43 -07:00
p9 Return EIO from p9 if sending/receiving fails. 2020-04-10 11:36:57 -07:00
pool Move p9.pool to a separate package 2020-02-06 10:07:45 -08:00
procid Standardize on tools directory. 2020-01-27 12:21:00 -08:00
rand Actually wrap rand.Reader in bufio.Reader. 2020-03-20 17:02:13 -07:00
refs Standardize on tools directory. 2020-01-27 12:21:00 -08:00
safecopy Don't use REP string instructions in safecopy.memcpy. 2020-04-09 11:03:43 -07:00
safemem Ensure that safemem.BlockSeqOf(safemem.Block{}) produces an empty BlockSeq. 2020-03-04 14:30:27 -08:00
seccomp Specify a memory file in platform.New(). 2020-04-22 17:50:10 -07:00
secio Standardize on tools directory. 2020-01-27 12:21:00 -08:00
segment Fix all printf formatting errors. 2020-04-08 10:14:34 -07:00
sentry Port netstack, hostinet, and netlink sockets to VFS2. 2020-05-01 12:54:41 -07:00
sleep Simplify atomic operations 2020-02-11 20:37:01 -08:00
state Fix all copy locks violations. 2020-04-08 10:00:14 -07:00
sync Rename files in //pkg/sync to better reflect what they contain. 2020-04-02 11:57:06 -07:00
syncevent Add //pkg/syncevent. 2020-02-18 15:18:48 -08:00
syserr Standardize on tools directory. 2020-01-27 12:21:00 -08:00
syserror Add BoundEndpointAt filesystem operation. 2020-03-26 21:52:24 -07:00
tcpip Enable FIFO QDisc by default in runsc. 2020-04-30 18:29:57 -07:00
test More descriptive error message for missing docker image. 2020-04-24 20:00:24 -07:00
tmutex Standardize on tools directory. 2020-01-27 12:21:00 -08:00
unet Standardize on tools directory. 2020-01-27 12:21:00 -08:00
urpc Standardize on tools directory. 2020-01-27 12:21:00 -08:00
usermem Remove obsolete TODOs for b/38173783 2020-04-13 11:02:14 -07:00
waiter Standardize on tools directory. 2020-01-27 12:21:00 -08:00