diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2019-06-24 15:18:29 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-24 15:19:36 -0700 |
commit | 87df9aab246fc1e72362bafcf98e1a746fd94187 (patch) | |
tree | e5070990960f49e0abeb596aae38cbb8554e0ab3 /pkg | |
parent | b21b1db7003aea8615ab9e6a4f07b74c97a32c24 (diff) |
Use correct statx syscall number for amd64.
The previous number was for the arm architecture.
Also change the statx tests to force them to run on gVisor, which would have
caught this issue.
PiperOrigin-RevId: 254846831
Diffstat (limited to 'pkg')
-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 2a41e8176..7f18b1ac8 100644 --- a/pkg/sentry/syscalls/linux/linux64.go +++ b/pkg/sentry/syscalls/linux/linux64.go @@ -379,7 +379,7 @@ var AMD64 = &kernel.SyscallTable{ 326: syscalls.ErrorWithEvent("copy_file_range", syscall.ENOSYS, "", nil), 327: syscalls.Undocumented("preadv2", Preadv2), 328: syscalls.Undocumented("pwritev2", Pwritev2), - 397: syscalls.Undocumented("statx", Statx), + 332: syscalls.Supported("statx", Statx), }, Emulate: map[usermem.Addr]uintptr{ |