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

Side by Side Diff: sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "sandbox/linux/seccomp-bpf-helpers/syscall_sets.h" 5 #include "sandbox/linux/seccomp-bpf-helpers/syscall_sets.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "sandbox/linux/services/linux_syscalls.h" 8 #include "sandbox/linux/system_headers/linux_syscalls.h"
9 9
10 namespace sandbox { 10 namespace sandbox {
11 11
12 // The functions below cover all existing i386, x86_64, and ARM system calls; 12 // The functions below cover all existing i386, x86_64, and ARM system calls;
13 // excluding syscalls made obsolete in ARM EABI. 13 // excluding syscalls made obsolete in ARM EABI.
14 // The implicitly defined sets form a partition of the sets of 14 // The implicitly defined sets form a partition of the sets of
15 // system calls. 15 // system calls.
16 16
17 bool SyscallSets::IsKill(int sysno) { 17 bool SyscallSets::IsKill(int sysno) {
18 switch (sysno) { 18 switch (sysno) {
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 switch (sysno) { 1051 switch (sysno) {
1052 case __NR_sysmips: 1052 case __NR_sysmips:
1053 case __NR_unused150: 1053 case __NR_unused150:
1054 return true; 1054 return true;
1055 default: 1055 default:
1056 return false; 1056 return false;
1057 } 1057 }
1058 } 1058 }
1059 #endif // defined(__mips__) 1059 #endif // defined(__mips__)
1060 } // namespace sandbox. 1060 } // namespace sandbox.
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc ('k') | sandbox/linux/seccomp-bpf/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698