diff options
author | Zach Koopmans <zkoopmans@google.com> | 2018-11-26 09:49:53 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-11-26 09:50:47 -0800 |
commit | b3b60ea29adf9415c9c7b98ba331dacd92f231b7 (patch) | |
tree | ba5ede8546c86e3e0ea1efb5b2f473d219a1ccab /pkg/sentry/syscalls/linux/linux64.go | |
parent | 1918563525662d6645ec921e61aa7e6da92af0dd (diff) |
Implementation of preadv2 for Linux 4.4 support
Implement RWF_HIPRI (4.6) silently passes the read call.
Implement -1 offset calls readv.
PiperOrigin-RevId: 222840324
Change-Id: If9ddc1e8d086e1a632bdf5e00bae08205f95b6b0
Diffstat (limited to 'pkg/sentry/syscalls/linux/linux64.go')
-rw-r--r-- | pkg/sentry/syscalls/linux/linux64.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/syscalls/linux/linux64.go b/pkg/sentry/syscalls/linux/linux64.go index 9912ab2b5..2aab948da 100644 --- a/pkg/sentry/syscalls/linux/linux64.go +++ b/pkg/sentry/syscalls/linux/linux64.go @@ -373,7 +373,10 @@ var AMD64 = &kernel.SyscallTable{ // 322: Execveat, TODO // 323: Userfaultfd, TODO // 324: Membarrier, TODO + // Syscalls after 325 are backports from 4.6. 325: syscalls.Error(nil), // Mlock2, TODO + 327: Preadv2, + // 328: Pwritev2, // Pwritev2, TODO }, Emulate: map[usermem.Addr]uintptr{ |