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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Generated from the Linux kernel's syscall_64.tbl. 5 // Generated from the Linux kernel's syscall_64.tbl.
6 #ifndef SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_ 6 #ifndef SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_
7 #define SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_ 7 #define SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_
8 8
9 #if !defined(__x86_64__) 9 #if !defined(__x86_64__)
10 #error "Including header on wrong architecture" 10 #error "Including header on wrong architecture"
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 #define __NR_process_vm_readv 310 1254 #define __NR_process_vm_readv 310
1255 #endif 1255 #endif
1256 1256
1257 #if !defined(__NR_process_vm_writev) 1257 #if !defined(__NR_process_vm_writev)
1258 #define __NR_process_vm_writev 311 1258 #define __NR_process_vm_writev 311
1259 #endif 1259 #endif
1260 1260
1261 #if !defined(__NR_kcmp) 1261 #if !defined(__NR_kcmp)
1262 #define __NR_kcmp 312 1262 #define __NR_kcmp 312
1263 #endif 1263 #endif
1264 1264
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.
1265 #if !defined(__NR_seccomp)
1266 #define __NR_seccomp 317
1267 #endif
1268
1265 #endif // SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_ 1269 #endif // SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_
1266 1270
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698