OLD | NEW |
1 ;; | 1 ;; |
2 ;; Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 3 ;; Use of this source code is governed by a BSD-style license that can be |
4 ;; found in the LICENSE file. | 4 ;; found in the LICENSE file. |
5 ;; | 5 ;; |
6 (version 1) | 6 (version 1) |
7 (deny default) | 7 (deny default) |
8 ; Support for programmatically enabling verbose debugging. | 8 ; Support for programmatically enabling verbose debugging. |
9 ;ENABLE_LOGGING (debug deny) | 9 ;ENABLE_LOGGING (debug deny) |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 (allow file-read-data (regex #"^/System/Library/Frameworks($|/)")) ; 10.5.6 | 25 (allow file-read-data (regex #"^/System/Library/Frameworks($|/)")) ; 10.5.6 |
26 (allow file-read-data (regex #"^/System/Library/PrivateFrameworks($|/)")) ; 10.
5.6 | 26 (allow file-read-data (regex #"^/System/Library/PrivateFrameworks($|/)")) ; 10.
5.6 |
27 (allow file-read-data (regex #"^/System/Library/CoreServices($|/)")) ; 10.5.6 | 27 (allow file-read-data (regex #"^/System/Library/CoreServices($|/)")) ; 10.5.6 |
28 | 28 |
29 ; Needed for Fonts. | 29 ; Needed for Fonts. |
30 (allow file-read-data (regex #"^/System/Library/Fonts($|/)")) ; 10.5.6 | 30 (allow file-read-data (regex #"^/System/Library/Fonts($|/)")) ; 10.5.6 |
31 ;10.6_ONLY (allow file-read-data (regex #"^/Library/Fonts($|/)")) ; 10.6 | 31 ;10.6_ONLY (allow file-read-data (regex #"^/Library/Fonts($|/)")) ; 10.6 |
32 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6 | 32 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6 |
33 ;10.6_ONLY (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6 | 33 ;10.6_ONLY (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6 |
34 | 34 |
35 ; USER_HOMEDIR is substitued at runtime - http://crbug.com/11269 | 35 ; USER_HOMEDIR is substitued at runtime - http://crbug.com/11269 |
36 ;10.6_ONLY (allow file-read-data (subpath "USER_HOMEDIR/Library/Fonts")) ; 10.6 | 36 ;10.6_ONLY (allow file-read-data (subpath "USER_HOMEDIR/Library/Fonts")) ; 10.6 |
37 | 37 |
38 ; Needed for IPC on 10.6 | 38 ; Needed for IPC on 10.6 |
39 ;10.6_ONLY (allow ipc-posix-shm) | 39 ;10.6_ONLY (allow ipc-posix-shm) |
| 40 |
| 41 ; Needed for the Native Client plugin and loader. These lines are enabled |
| 42 ; if and only if --internal-nacl (or --enable-nacl) are used (and they |
| 43 ; are off by default). |
| 44 ; TODO(msneck): Refactor Native Client to use something other than Unix |
| 45 ; sockets. Then change or remove the code in chrome/common/sandbox_mac.mm |
| 46 ; which deals with the ";NACL" prefix. |
| 47 ; See http://code.google.com/p/nativeclient/issues/detail?id=344 |
| 48 ;NACL;BEFORE_10.6 (allow network-inbound (from unix-socket)) |
| 49 ;NACL;BEFORE_10.6 (allow network-outbound (to unix-socket)) |
| 50 ;NACL;10.6_ONLY (allow network-inbound (regex #"^(/private)?/tmp/nacl-")) |
| 51 ;NACL;10.6_ONLY (allow network-outbound (regex #"^(/private)?/tmp/nacl-")) |
| 52 ;NACL;10.6_ONLY (allow network-bind (local ip4)) |
| 53 ;NACL;10.6_ONLY (allow file-write* (regex #"^(/private)?/tmp/nacl-")) |
OLD | NEW |