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

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

Issue 98373007: Move more helpers to seccomp-bpf-helpers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_H_ 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_H_ 6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 // These are helpers to build seccomp-bpf policies, i.e. policies for a 10 // These are helpers to build seccomp-bpf policies, i.e. policies for a
11 // sandbox that reduces the Linux kernel's attack surface. Given their 11 // sandbox that reduces the Linux kernel's attack surface. Given their
12 // nature, they don't have any clear semantics and are completely 12 // nature, they don't have any clear semantics and are completely
13 // "implementation-defined". 13 // "implementation-defined".
14 14
15 namespace sandbox { 15 namespace sandbox {
16 16
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool IsAdvancedTimer(int sysno); 88 bool IsAdvancedTimer(int sysno);
89 bool IsExtendedAttributes(int sysno); 89 bool IsExtendedAttributes(int sysno);
90 bool IsMisc(int sysno); 90 bool IsMisc(int sysno);
91 #if defined(__arm__) 91 #if defined(__arm__)
92 bool IsArmPciConfig(int sysno); 92 bool IsArmPciConfig(int sysno);
93 bool IsArmPrivate(int sysno); 93 bool IsArmPrivate(int sysno);
94 #endif // defined(__arm__) 94 #endif // defined(__arm__)
95 95
96 } // namespace sandbox. 96 } // namespace sandbox.
97 97
98 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_H_ 98 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698