gvisor/pkg/sentry/socket
Rahat Mahmood 7bfad8ebb6 Return a well-defined socket address type from socket funtions.
Previously we were representing socket addresses as an interface{},
which allowed any type which could be binary.Marshal()ed to be used as
a socket address. This is fine when the address is passed to userspace
via the linux ABI, but is problematic when used from within the sentry
such as by networking procfs files.

PiperOrigin-RevId: 262460640
2019-08-08 16:50:33 -07:00
..
control net/tcp/setockopt: impelment setsockopt(fd, SOL_TCP, TCP_INQ) 2019-07-18 15:41:04 -07:00
epsocket Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
hostinet Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
netfilter Plumbing for iptables sockopts. 2019-08-02 16:26:48 -07:00
netlink Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
rpcinet Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
unix Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
BUILD Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
socket.go Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00