gvisor/pkg/sentry/fs/tmpfs
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 Internal change. 2019-02-13 12:07:34 -08:00
device.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
file_regular.go Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
file_test.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
inode_file.go Fix gofer rename ctime and cleanup stat_times test 2019-05-17 13:05:47 -07:00
tmpfs.go Fix gofer rename ctime and cleanup stat_times test 2019-05-17 13:05:47 -07:00