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

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

Issue 494743003: sandbox: Add support for the new seccomp() system call in kernel 3.17. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/x86_64_linux_syscalls.h
diff --git a/sandbox/linux/services/x86_64_linux_syscalls.h b/sandbox/linux/services/x86_64_linux_syscalls.h
index bd30c55b1d8b0aa59b07617b4d4de75350fb90a6..3ab86579d0b16d0aa5ffbdb8247e30e3d34fc05d 100644
--- a/sandbox/linux/services/x86_64_linux_syscalls.h
+++ b/sandbox/linux/services/x86_64_linux_syscalls.h
@@ -1262,5 +1262,9 @@
#define __NR_kcmp 312
#endif
jln (very slow on Chromium) 2014/08/20 21:34:21 Same remark: please fill or document hole.
Robert Sesek 2014/08/21 16:50:18 Done.
+#if !defined(__NR_seccomp)
+#define __NR_seccomp 317
+#endif
+
#endif // SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_

Powered by Google App Engine
This is Rietveld 408576698