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

Side by Side Diff: content/common/sandbox_seccomp_bpf_linux.cc

Issue 23226004: remove unused headers from sandbox_seccomp_bpf_linux.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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 | « no previous file | 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) 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 #include <asm/unistd.h> 5 #include <asm/unistd.h>
6 #include <dlfcn.h> 6 #include <dlfcn.h>
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <linux/audit.h>
10 #include <linux/filter.h> 9 #include <linux/filter.h>
jln (very slow on Chromium) 2013/08/26 19:02:39 I don't think we'd need this one either?
Mostyn Bramley-Moore 2013/08/26 19:14:04 Done.
11 #include <linux/net.h> 10 #include <linux/net.h>
12 #include <signal.h> 11 #include <signal.h>
13 #include <string.h> 12 #include <string.h>
14 #include <sys/ioctl.h> 13 #include <sys/ioctl.h>
15 #include <sys/mman.h> 14 #include <sys/mman.h>
16 #include <sys/prctl.h> 15 #include <sys/prctl.h>
17 #include <sys/socket.h> 16 #include <sys/socket.h>
18 #include <sys/stat.h> 17 #include <sys/stat.h>
19 #include <sys/types.h> 18 #include <sys/types.h>
20 #include <ucontext.h> 19 #include <ucontext.h>
(...skipping 2055 matching lines...) Expand 10 before | Expand all | Expand 10 after
2076 return false; 2075 return false;
2077 } 2076 }
2078 2077
2079 #if defined(SECCOMP_BPF_SANDBOX) 2078 #if defined(SECCOMP_BPF_SANDBOX)
2080 playground2::BpfSandboxPolicyCallback SandboxSeccompBpf::GetBaselinePolicy() { 2079 playground2::BpfSandboxPolicyCallback SandboxSeccompBpf::GetBaselinePolicy() {
2081 return base::Bind(&BaselinePolicyWithAux); 2080 return base::Bind(&BaselinePolicyWithAux);
2082 } 2081 }
2083 #endif // defined(SECCOMP_BPF_SANDBOX) 2082 #endif // defined(SECCOMP_BPF_SANDBOX)
2084 2083
2085 } // namespace content 2084 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698