OLD | NEW |
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> | |
11 #include <linux/net.h> | 9 #include <linux/net.h> |
12 #include <signal.h> | 10 #include <signal.h> |
13 #include <string.h> | 11 #include <string.h> |
14 #include <sys/ioctl.h> | 12 #include <sys/ioctl.h> |
15 #include <sys/mman.h> | 13 #include <sys/mman.h> |
16 #include <sys/prctl.h> | 14 #include <sys/prctl.h> |
17 #include <sys/socket.h> | 15 #include <sys/socket.h> |
18 #include <sys/stat.h> | 16 #include <sys/stat.h> |
19 #include <sys/types.h> | 17 #include <sys/types.h> |
20 #include <ucontext.h> | 18 #include <ucontext.h> |
(...skipping 2055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2076 return false; | 2074 return false; |
2077 } | 2075 } |
2078 | 2076 |
2079 #if defined(SECCOMP_BPF_SANDBOX) | 2077 #if defined(SECCOMP_BPF_SANDBOX) |
2080 playground2::BpfSandboxPolicyCallback SandboxSeccompBpf::GetBaselinePolicy() { | 2078 playground2::BpfSandboxPolicyCallback SandboxSeccompBpf::GetBaselinePolicy() { |
2081 return base::Bind(&BaselinePolicyWithAux); | 2079 return base::Bind(&BaselinePolicyWithAux); |
2082 } | 2080 } |
2083 #endif // defined(SECCOMP_BPF_SANDBOX) | 2081 #endif // defined(SECCOMP_BPF_SANDBOX) |
2084 | 2082 |
2085 } // namespace content | 2083 } // namespace content |
OLD | NEW |