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_file_permission.h" | 5 #include "sandbox/linux/syscall_broker/broker_file_permission.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
| 8 #include <stddef.h> |
8 #include <string.h> | 9 #include <string.h> |
9 | 10 |
10 #include <string> | 11 #include <string> |
11 | 12 |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "sandbox/linux/syscall_broker/broker_common.h" | 14 #include "sandbox/linux/syscall_broker/broker_common.h" |
14 | 15 |
15 namespace sandbox { | 16 namespace sandbox { |
16 | 17 |
17 namespace syscall_broker { | 18 namespace syscall_broker { |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 if (recursive_) { | 235 if (recursive_) { |
235 CHECK(last_char == '/') << GetErrorMessageForTests(); | 236 CHECK(last_char == '/') << GetErrorMessageForTests(); |
236 } else { | 237 } else { |
237 CHECK(last_char != '/') << GetErrorMessageForTests(); | 238 CHECK(last_char != '/') << GetErrorMessageForTests(); |
238 } | 239 } |
239 } | 240 } |
240 | 241 |
241 } // namespace syscall_broker | 242 } // namespace syscall_broker |
242 | 243 |
243 } // namespace sandbox | 244 } // namespace sandbox |
OLD | NEW |