OLD | NEW |
(Empty) | |
| 1 ;; |
| 2 ;; Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 3 ;; Use of this source code is governed by a BSD-style license that can be |
| 4 ;; found in the LICENSE file. |
| 5 ;; |
| 6 ; This is the Sandbox configuration file used for safeguarding the user's |
| 7 ; untrusted code within Native Client. |
| 8 ; |
| 9 (version 1) |
| 10 (deny default) |
| 11 ; Support for programmatically enabling verbose debugging. |
| 12 ;ENABLE_LOGGING (debug deny) |
| 13 |
| 14 ; Allow sending signals to self - http://crbug.com/20370 |
| 15 (allow signal (target self)) |
| 16 |
| 17 ; Needed for full-page-zoomed controls - http://crbug.com/11325 |
| 18 (allow sysctl-read) |
| 19 |
| 20 ; Each line is marked with the System version that needs it. |
| 21 ; This profile is tested with the following system versions: |
| 22 ; 10.5.6, 10.6 |
| 23 |
| 24 ; Allow following symlinks |
| 25 (allow file-read-metadata) ; 10.5.6 |
| 26 |
| 27 ; Needed for IPC on 10.6 |
| 28 ;10.6_ONLY (allow ipc-posix-shm) |
| 29 |
| 30 ; Needed for the Native Client plugin and loader. |
| 31 ; TODO(msneck): Refactor Native Client to use something other than Unix |
| 32 ; sockets. |
| 33 ; See http://code.google.com/p/nativeclient/issues/detail?id=344 |
| 34 ;BEFORE_10.6 (allow network-inbound (from unix-socket)) |
| 35 ;BEFORE_10.6 (allow network-outbound (to unix-socket)) |
| 36 ;10.6_ONLY (allow network-inbound (regex #"^(/private)?/tmp/nacl-")) |
| 37 ;10.6_ONLY (allow network-outbound (regex #"^(/private)?/tmp/nacl-")) |
| 38 ;10.6_ONLY (allow network-bind (local ip4)) |
| 39 ;10.6_ONLY (allow file-write* (regex #"^(/private)?/tmp/nacl-")) |
OLD | NEW |