OLD | NEW |
1 ;; | 1 ;; |
2 ;; Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 ;; Copyright (c) 2010 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 ; This configuration file isn't used on it's own, but instead implicitly | 6 ; This configuration file isn't used on it's own, but instead implicitly |
7 ; included at the start of all other sandbox configuration files in Chrome. | 7 ; included at the start of all other sandbox configuration files in Chrome. |
8 (version 1) | 8 (version 1) |
9 | 9 |
10 ; DISABLE_SANDBOX_DENIAL_LOGGING expands to syntax that turns off log message | 10 ; DISABLE_SANDBOX_DENIAL_LOGGING expands to syntax that turns off log message |
11 ; printing on sandbox exceptions; this functionality only exists on 10.6. The | 11 ; printing on sandbox exceptions; this functionality only exists on 10.6. The |
12 ; --enable-sandbox-logging flag or system versions <10.6 cause this flag to | 12 ; --enable-sandbox-logging flag or system versions <10.6 cause this flag to |
13 ; expand to an empty string. http://crbug.com/26621 | 13 ; expand to an empty string. http://crbug.com/26621 |
14 (deny default DISABLE_SANDBOX_DENIAL_LOGGING) | 14 (deny default DISABLE_SANDBOX_DENIAL_LOGGING) |
15 | 15 |
16 ; Support for programmatically enabling verbose debugging. | 16 ; Support for programmatically enabling verbose debugging. |
17 ;ENABLE_LOGGING (debug deny) | 17 ;ENABLE_LOGGING (debug deny) |
18 | 18 |
19 ; Allow sending signals to self - http://crbug.com/20370 | 19 ; Allow sending signals to self - http://crbug.com/20370 |
20 (allow signal (target self)) | 20 (allow signal (target self)) |
21 | 21 |
22 ; Needed for full-page-zoomed controls - http://crbug.com/11325 | 22 ; Needed for full-page-zoomed controls - http://crbug.com/11325 |
23 (allow sysctl-read) | 23 (allow sysctl-read) |
24 | 24 |
25 ; Each line is marked with the System version that needs it. | 25 ; Each line is marked with the System version that needs it. |
26 ; This profile is tested with the following system versions: | 26 ; This profile is tested with the following system versions: |
27 ; 10.5.6, 10.6 | 27 ; 10.5.6, 10.6 |
28 | 28 |
29 ; Allow following symlinks | |
30 (allow file-read-metadata) ; 10.5.6 | |
31 | |
32 ; Loading System Libraries. | 29 ; Loading System Libraries. |
33 (allow file-read-data (regex #"^/System/Library/Frameworks($|/)")) ; 10.5.6 | 30 (allow file-read* |
34 (allow file-read-data (regex #"^/System/Library/PrivateFrameworks($|/)")) ; 10.
5.6 | 31 (regex #"^/System/Library/Frameworks($|/)") |
35 (allow file-read-data (regex #"^/System/Library/CoreServices($|/)")) ; 10.5.6 | 32 (regex #"^/System/Library/PrivateFrameworks($|/)") |
| 33 (regex #"^/System/Library/CoreServices($|/)")) ; 10.5.6 |
36 | 34 |
37 ; Needed for IPC on 10.6 | 35 ; Needed for IPC on 10.6 |
38 ;10.6_ONLY (allow ipc-posix-shm) | 36 ;10.6_ONLY (allow ipc-posix-shm) |
OLD | NEW |