gvisor/pkg/sentry
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
..
arch Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
context Implement async MemoryFile eviction, and use it in CachingInodeOperations. 2019-04-30 13:56:41 -07:00
control Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
device Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
fs Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
hostcpu Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
inet Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
kernel Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
limits Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
loader Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
memmap Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
memutil Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
mm Ensure all uses of MM.brk occur under MM.mappingMu in MM.Brk(). 2019-05-06 16:39:43 -07:00
pgalloc Add pgalloc.DelayedEvictionManual. 2019-05-10 13:37:48 -07:00
platform Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
safemem Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sighandling Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
state Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
strace Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
syscalls Add basic plumbing for splice and stub implementation. 2019-05-21 15:18:12 -07:00
time Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
unimpl Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
uniqueid Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
usage Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
usermem Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
watchdog Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00