Index: sandbox/linux/seccomp-bpf-helpers/syscall_sets.h |
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h |
index bda1d726fd01870adfe17c71268ccc0a7cf4a968..1dbd9492932dcb03fcfe3134ec219df3763aa5d1 100644 |
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h |
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h |
@@ -47,7 +47,8 @@ class SANDBOX_EXPORT SyscallSets { |
static bool IsSocketCall(int sysno); |
#endif |
-#if defined(__x86_64__) || defined(__arm__) || defined(__mips__) |
+#if defined(__x86_64__) || defined(__arm__) || defined(__mips__) || \ |
+ defined(__aarch64__) |
static bool IsNetworkSocketInformation(int sysno); |
#endif |
@@ -69,15 +70,15 @@ class SANDBOX_EXPORT SyscallSets { |
// Asynchronous I/O API. |
static bool IsAsyncIo(int sysno); |
static bool IsKeyManagement(int sysno); |
-#if defined(__x86_64__) || defined(__arm__) |
+#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) |
static bool IsSystemVSemaphores(int sysno); |
#endif |
-#if defined(__x86_64__) || defined(__arm__) |
+#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) |
// These give a lot of ambient authority and bypass the setuid sandbox. |
static bool IsSystemVSharedMemory(int sysno); |
#endif |
-#if defined(__x86_64__) || defined(__arm__) |
+#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) |
static bool IsSystemVMessageQueue(int sysno); |
#endif |