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

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

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