diff options
author | Justine Olshan <justineolshan@google.com> | 2018-08-10 16:09:52 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-08-10 16:11:01 -0700 |
commit | ae6f092fe117a738df34e072ef5ba01a41c89222 (patch) | |
tree | 24f8492ac032e39b2a2908f7e1383224b34f6b64 /pkg/sentry/syscalls/linux/linux64.go | |
parent | 36c940b093af58d02eb6e7fd186f14cce84a8dd9 (diff) |
Implemented the splice(2) syscall.
Currently the implementation matches the behavior of moving data
between two file descriptors. However, it does not implement this
through zero-copy movement. Thus, this code is a starting point
to build the more complex implementation.
PiperOrigin-RevId: 208284483
Change-Id: Ibde79520a3d50bc26aead7ad4f128d2be31db14e
Diffstat (limited to 'pkg/sentry/syscalls/linux/linux64.go')
-rw-r--r-- | pkg/sentry/syscalls/linux/linux64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/linux64.go b/pkg/sentry/syscalls/linux/linux64.go index c102af101..485c96202 100644 --- a/pkg/sentry/syscalls/linux/linux64.go +++ b/pkg/sentry/syscalls/linux/linux64.go @@ -319,7 +319,7 @@ var AMD64 = &kernel.SyscallTable{ 272: Unshare, 273: syscalls.Error(syscall.ENOSYS), // SetRobustList, obsolete 274: syscalls.Error(syscall.ENOSYS), // GetRobustList, obsolete - // 275: Splice, TODO + 275: Splice, // 276: Tee, TODO // 277: SyncFileRange, TODO // 278: Vmsplice, TODO |