gvisor/pkg/sentry/socket
Adin Scannell 7c6ab6a219 Implement splice methods for pipes and sockets.
This also allows the tee(2) implementation to be enabled, since dup can now be
properly supported via WriteTo.

Note that this change necessitated some minor restructoring with the
fs.FileOperations splice methods. If the *fs.File is passed through directly,
then only public API methods are accessible, which will deadlock immediately
since the locking is already done by fs.Splice. Instead, we pass through an
abstract io.Reader or io.Writer, which elide locks and use the underlying
fs.FileOperations directly.

PiperOrigin-RevId: 268805207
2019-09-12 17:43:27 -07:00
..
control net/tcp/setockopt: impelment setsockopt(fd, SOL_TCP, TCP_INQ) 2019-07-18 15:41:04 -07:00
epsocket Implement splice methods for pipes and sockets. 2019-09-12 17:43:27 -07:00
hostinet hostinet: fix parsing route netlink message 2019-08-19 12:10:21 -07:00
netfilter Read iptables via sockopts. 2019-08-19 10:05:59 -07:00
netlink Remove go_test from go_stateify and go_marshal 2019-09-12 15:10:17 -07:00
rpcinet Return a well-defined socket address type from socket funtions. 2019-08-08 16:50:33 -07:00
unix netstack: disconnect an unix socket only if the address family is AF_UNSPEC 2019-08-16 19:32:14 -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