gvisor/pkg
Rahat Mahmood a00157cc0e Store more information in the kernel socket table.
Store enough information in the kernel socket table to distinguish
between different types of sockets. Previously we were only storing
the socket family, but this isn't enough to classify sockets. For
example, TCPv4 and UDPv4 sockets are both AF_INET, and ICMP sockets
are SOCK_DGRAM sockets with a particular protocol.

Instead of creating more sub-tables, flatten the socket table and
provide a filtering mechanism based on the socket entry.

Also generate and store a socket entry index ("sl" in linux) which
allows us to output entries in a stable order from procfs.

PiperOrigin-RevId: 252495895
2019-06-10 15:17:43 -07:00
..
abi Use common definition of SockType. 2019-06-06 17:00:27 -07:00
amutex gvisor: interrupt the sendfile system call if a task has been interrupted 2019-05-23 23:21:13 -07:00
atomicbitops Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
binary Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
bits Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
bpf Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
compressio Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
control Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
cpuid Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
eventchannel Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
fd Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
fdnotifier Automated rollback of changelist 247964961 2019-05-15 14:58:40 -07:00
gate Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
ilist Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
linewriter Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
log Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
memutil Move //pkg/sentry/memutil to //pkg/memutil. 2019-06-07 14:52:27 -07:00
metric Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
p9 Forward named pipe creation to the gofer 2019-05-20 16:53:08 -07:00
rand Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
refs Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
seccomp Add arm64 support to pkg/seccomp 2019-05-03 22:03:59 -07:00
secio Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
segment Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sentry Store more information in the kernel socket table. 2019-06-10 15:17:43 -07:00
sleep Add build guard to files using go:linkname 2019-05-30 12:09:39 -07:00
state Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
syserr Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
syserror Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
tcpip Track and export socket state. 2019-06-06 15:04:47 -07:00
tmutex Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
unet Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
urpc Add multi-fd support to fdbased endpoint. 2019-06-06 08:07:02 -07:00
waiter Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00