Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1998)

Unified Diff: sandbox/linux/services/linux_syscalls.h

Issue 10837316: Add full ARM syscall list. (Closed) Base URL: http://git.chromium.org/chromium/src.git@seccomp-bpf-arm-sets
Patch Set: Add ARM EABI define guards. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/linux/services/linux_syscalls.h
diff --git a/sandbox/linux/services/x86_linux_syscalls.h b/sandbox/linux/services/linux_syscalls.h
similarity index 67%
rename from sandbox/linux/services/x86_linux_syscalls.h
rename to sandbox/linux/services/linux_syscalls.h
index d0776c5708ec71f79602a99add37947d4310dcb0..77c1be8b82a0fe4aca308ca40547ebf7a008d24a 100644
--- a/sandbox/linux/services/x86_linux_syscalls.h
+++ b/sandbox/linux/services/linux_syscalls.h
@@ -6,8 +6,8 @@
// policies even when system headers are old.
// System call numbers are accessible through __NR_syscall_name.
-#ifndef SANDBOX_LINUX_SERVICES_X86_LINUX_SYSCALLS_H_
-#define SANDBOX_LINUX_SERVICES_X86_LINUX_SYSCALLS_H_
+#ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
+#define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
#if defined(__x86_64__)
#include "sandbox/linux/services/x86_64_linux_syscalls.h"
@@ -17,5 +17,9 @@
#include "sandbox/linux/services/x86_32_linux_syscalls.h"
#endif
-#endif // SANDBOX_LINUX_SERVICES_X86_LINUX_SYSCALLS_H_
+#if defined(__arm__) && defined(__ARM_EABI__)
+#include "sandbox/linux/services/arm_linux_syscalls.h"
+#endif
+
+#endif // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_

Powered by Google App Engine
This is Rietveld 408576698