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