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

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

Issue 10825227: Linux: add our own headers for system call numbers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « sandbox/linux/services/x86_64_linux_syscalls.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/services/x86_linux_syscalls.h
diff --git a/sandbox/linux/services/x86_linux_syscalls.h b/sandbox/linux/services/x86_linux_syscalls.h
new file mode 100644
index 0000000000000000000000000000000000000000..d0776c5708ec71f79602a99add37947d4310dcb0
--- /dev/null
+++ b/sandbox/linux/services/x86_linux_syscalls.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This header will be kept up to date so that we can compile system-call
+// 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_
+
+#if defined(__x86_64__)
+#include "sandbox/linux/services/x86_64_linux_syscalls.h"
+#endif
+
+#if defined(__i386__)
+#include "sandbox/linux/services/x86_32_linux_syscalls.h"
+#endif
+
+#endif // SANDBOX_LINUX_SERVICES_X86_LINUX_SYSCALLS_H_
+
« no previous file with comments | « sandbox/linux/services/x86_64_linux_syscalls.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698