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

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

Issue 1062223002: Cleanup: Remove basictypes.h includes from seccomp-bpf-helpers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 #ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_ 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_ 6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "sandbox/sandbox_export.h" 10 #include "sandbox/sandbox_export.h"
11 11
12 // These are helpers to build seccomp-bpf policies, i.e. policies for a 12 // These are helpers to build seccomp-bpf policies, i.e. policies for a
13 // sandbox that reduces the Linux kernel's attack surface. Given their 13 // sandbox that reduces the Linux kernel's attack surface. Given their
14 // nature, they don't have any clear semantics and are completely 14 // nature, they don't have any clear semantics and are completely
15 // "implementation-defined". 15 // "implementation-defined".
16 16
17 namespace sandbox { 17 namespace sandbox {
18 18
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 static bool IsMipsPrivate(int sysno); 103 static bool IsMipsPrivate(int sysno);
104 static bool IsMipsMisc(int sysno); 104 static bool IsMipsMisc(int sysno);
105 #endif // defined(__mips__) 105 #endif // defined(__mips__)
106 private: 106 private:
107 DISALLOW_IMPLICIT_CONSTRUCTORS(SyscallSets); 107 DISALLOW_IMPLICIT_CONSTRUCTORS(SyscallSets);
108 }; 108 };
109 109
110 } // namespace sandbox. 110 } // namespace sandbox.
111 111
112 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_ 112 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698