| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 1 #include "debug.h" | 5 #include "debug.h" |
| 2 #include "sandbox_impl.h" | 6 #include "sandbox_impl.h" |
| 3 | 7 |
| 4 namespace playground { | 8 namespace playground { |
| 5 | 9 |
| 6 #ifndef IPC_PRIVATE | 10 #ifndef IPC_PRIVATE |
| 7 #define IPC_PRIVATE 0 | 11 #define IPC_PRIVATE 0 |
| 8 #endif | 12 #endif |
| 9 #ifndef IPC_RMID | 13 #ifndef IPC_RMID |
| 10 #define IPC_RMID 0 | 14 #define IPC_RMID 0 |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 // other SysV IPC calls. | 332 // other SysV IPC calls. |
| 329 deny: | 333 deny: |
| 330 mem->shmId = -1; | 334 mem->shmId = -1; |
| 331 SecureMem::abandonSystemCall(threadFd, -EINVAL); | 335 SecureMem::abandonSystemCall(threadFd, -EINVAL); |
| 332 return false; | 336 return false; |
| 333 } | 337 } |
| 334 } | 338 } |
| 335 #endif | 339 #endif |
| 336 | 340 |
| 337 } // namespace | 341 } // namespace |
| OLD | NEW |