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

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

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 4 years, 12 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
« no previous file with comments | « sandbox/linux/seccomp-bpf/syscall_unittest.cc ('k') | sandbox/linux/seccomp-bpf/trap.cc » ('j') | 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) 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 #ifndef SANDBOX_LINUX_SECCOMP_BPF_TRAP_H__ 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_TRAP_H__
6 #define SANDBOX_LINUX_SECCOMP_BPF_TRAP_H__ 6 #define SANDBOX_LINUX_SECCOMP_BPF_TRAP_H__
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include <map> 11 #include <map>
11 12
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "sandbox/linux/bpf_dsl/trap_registry.h" 14 #include "sandbox/linux/bpf_dsl/trap_registry.h"
14 #include "sandbox/linux/system_headers/linux_signal.h" 15 #include "sandbox/linux/system_headers/linux_signal.h"
15 #include "sandbox/sandbox_export.h" 16 #include "sandbox/sandbox_export.h"
16 17
17 namespace sandbox { 18 namespace sandbox {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 bool has_unsafe_traps_; // Whether unsafe traps have been enabled 77 bool has_unsafe_traps_; // Whether unsafe traps have been enabled
77 78
78 // Copying and assigning is unimplemented. It doesn't make sense for a 79 // Copying and assigning is unimplemented. It doesn't make sense for a
79 // singleton. 80 // singleton.
80 DISALLOW_COPY_AND_ASSIGN(Trap); 81 DISALLOW_COPY_AND_ASSIGN(Trap);
81 }; 82 };
82 83
83 } // namespace sandbox 84 } // namespace sandbox
84 85
85 #endif // SANDBOX_LINUX_SECCOMP_BPF_TRAP_H__ 86 #endif // SANDBOX_LINUX_SECCOMP_BPF_TRAP_H__
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf/syscall_unittest.cc ('k') | sandbox/linux/seccomp-bpf/trap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698