OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "sandbox/linux/syscall_broker/broker_policy.h" | 5 #include "sandbox/linux/syscall_broker/broker_policy.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <stddef.h> | |
9 #include <stdint.h> | 8 #include <stdint.h> |
10 #include <string.h> | 9 #include <string.h> |
11 | 10 |
12 #include <string> | 11 #include <string> |
13 #include <vector> | 12 #include <vector> |
14 | 13 |
15 #include "base/logging.h" | 14 #include "base/logging.h" |
16 #include "sandbox/linux/syscall_broker/broker_common.h" | 15 #include "sandbox/linux/syscall_broker/broker_common.h" |
17 | 16 |
18 namespace sandbox { | 17 namespace sandbox { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 file_to_open, unlink_after_open)) { | 90 file_to_open, unlink_after_open)) { |
92 return true; | 91 return true; |
93 } | 92 } |
94 } | 93 } |
95 return false; | 94 return false; |
96 } | 95 } |
97 | 96 |
98 } // namespace syscall_broker | 97 } // namespace syscall_broker |
99 | 98 |
100 } // namespace sandbox | 99 } // namespace sandbox |
OLD | NEW |