gvisor/pkg/sentry/socket
Adin Scannell 9cdae51fec Add basic plumbing for splice and stub implementation.
This does not actually implement an efficient splice or sendfile. Rather, it
adds a generic plumbing to the file internals so that this can be added. All
file implementations use the stub fileutil.NoSplice implementation, which
causes sendfile and splice to fall back to an internal copy.

A basic splice system call interface is added, along with a test.

PiperOrigin-RevId: 249335960
Change-Id: Ic5568be2af0a505c19e7aec66d5af2480ab0939b
2019-05-21 15:18:12 -07:00
..
control Implement the MSG_CTRUNC msghdr flag for Unix sockets. 2019-04-29 21:21:08 -07:00
epsocket Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
hostinet Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
netlink Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
rpcinet Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
unix Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
socket.go Implement the MSG_CTRUNC msghdr flag for Unix sockets. 2019-04-29 21:21:08 -07:00