gvisor/pkg/sentry/syscalls
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
..
linux Implement splice methods for pipes and sockets. 2019-09-12 17:43:27 -07:00
BUILD Remove map from fd_map, change to fd_table. 2019-07-02 19:28:59 -07:00
epoll.go Cleanup straggling syscall dependencies. 2019-07-09 16:18:02 -07:00
syscalls.go Cleanup straggling syscall dependencies. 2019-07-09 16:18:02 -07:00