gvisor/pkg/sentry/fs/gofer
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
..
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
attr.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
cache_policy.go gofer: don't leak file descriptors 2019-05-03 14:01:50 -07:00
context_file.go Implement fallocate(2) 2019-05-09 15:35:49 -07:00
device.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
file.go Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
file_state.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
fs.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
gofer_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
handles.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
inode.go Implement fallocate(2) 2019-05-09 15:35:49 -07:00
inode_state.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
path.go Forward named pipe creation to the gofer 2019-05-20 16:53:08 -07:00
session.go Remove false comment 2019-05-14 18:06:14 -07:00
session_state.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
util.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00