summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/seccomp.cc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-03 13:46:54 -0800
committergVisor bot <gvisor-bot@google.com>2020-03-03 13:46:54 -0800
commit3aa97c893dbbf3945c8812ebf158306921343dc8 (patch)
tree368e5bfe8c2e698579645860ab4e8990f6e08411 /test/syscalls/linux/seccomp.cc
parentc15b8515eb4a07699e5f2401f0332286f0a51043 (diff)
parentfc3a09cd3c56ef20fd398a5f61a5e59111ed55b3 (diff)
Merge pull request #2043 from lubinszARM:pr_clean1
PiperOrigin-RevId: 298683502
Diffstat (limited to 'test/syscalls/linux/seccomp.cc')
-rw-r--r--test/syscalls/linux/seccomp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/seccomp.cc b/test/syscalls/linux/seccomp.cc
index cf6499f8b..8e0fc9acc 100644
--- a/test/syscalls/linux/seccomp.cc
+++ b/test/syscalls/linux/seccomp.cc
@@ -53,7 +53,7 @@ namespace {
constexpr uint32_t kFilteredSyscall = SYS_vserver;
#elif __aarch64__
// Use the last of arch_specific_syscalls which are not implemented on arm64.
-constexpr uint32_t kFilteredSyscall = SYS_arch_specific_syscall + 15;
+constexpr uint32_t kFilteredSyscall = __NR_arch_specific_syscall + 15;
#endif
// Applies a seccomp-bpf filter that returns `filtered_result` for