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

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

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « rlz/mac/lib/rlz_value_store_mac.mm ('k') | sandbox/linux/services/libc_urandom_override.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_SANDBOX_BPF_H__ 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_SANDBOX_BPF_H__
6 #define SANDBOX_LINUX_SECCOMP_BPF_SANDBOX_BPF_H__ 6 #define SANDBOX_LINUX_SECCOMP_BPF_SANDBOX_BPF_H__
7 7
8 #include <endian.h> 8 #include <endian.h>
9 #include <errno.h> 9 #include <errno.h>
10 #include <fcntl.h> 10 #include <fcntl.h>
(...skipping 24 matching lines...) Expand all
35 #include <unistd.h> 35 #include <unistd.h>
36 36
37 #include <algorithm> 37 #include <algorithm>
38 #include <limits> 38 #include <limits>
39 #include <map> 39 #include <map>
40 #include <utility> 40 #include <utility>
41 #include <vector> 41 #include <vector>
42 42
43 #ifndef SECCOMP_BPF_STANDALONE 43 #ifndef SECCOMP_BPF_STANDALONE
44 #include "base/basictypes.h" 44 #include "base/basictypes.h"
45 #include "base/eintr_wrapper.h"
46 #include "base/logging.h" 45 #include "base/logging.h"
46 #include "base/posix/eintr_wrapper.h"
47 #endif 47 #endif
48 48
49 #if defined(SECCOMP_BPF_VALGRIND_HACKS) 49 #if defined(SECCOMP_BPF_VALGRIND_HACKS)
50 #ifndef SECCOMP_BPF_STANDALONE 50 #ifndef SECCOMP_BPF_STANDALONE
51 #include "base/third_party/valgrind/valgrind.h" 51 #include "base/third_party/valgrind/valgrind.h"
52 #endif 52 #endif
53 #endif 53 #endif
54 54
55 55
56 // The Seccomp2 kernel ABI is not part of older versions of glibc. 56 // The Seccomp2 kernel ABI is not part of older versions of glibc.
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 static Traps *traps_; 336 static Traps *traps_;
337 static TrapIds trapIds_; 337 static TrapIds trapIds_;
338 static ErrorCode *trapArray_; 338 static ErrorCode *trapArray_;
339 static size_t trapArraySize_; 339 static size_t trapArraySize_;
340 DISALLOW_IMPLICIT_CONSTRUCTORS(Sandbox); 340 DISALLOW_IMPLICIT_CONSTRUCTORS(Sandbox);
341 }; 341 };
342 342
343 } // namespace 343 } // namespace
344 344
345 #endif // SANDBOX_LINUX_SECCOMP_BPF_SANDBOX_BPF_H__ 345 #endif // SANDBOX_LINUX_SECCOMP_BPF_SANDBOX_BPF_H__
OLDNEW
« no previous file with comments | « rlz/mac/lib/rlz_value_store_mac.mm ('k') | sandbox/linux/services/libc_urandom_override.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698