[email protected] | e8aa85c | 2009-02-17 19:08:44 | [diff] [blame] | 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 | ;; | ||||
[email protected] | e8aa85c | 2009-02-17 19:08:44 | [diff] [blame] | 6 | |
[email protected] | 1e652d02 | 2010-04-16 19:09:11 | [diff] [blame] | 7 | ; *** The contents of chrome/common/common.sb are implicitly included here. *** |
[email protected] | 3a3e5b3 | 2009-08-21 22:30:47 | [diff] [blame] | 8 | |
9 | ; Needed for Fonts. | ||||
[email protected] | abf23550 | 2010-10-26 13:41:39 | [diff] [blame] | 10 | (allow file-read* (regex #"^/System/Library/Fonts($|/)")) ; 10.5.6 |
[email protected] | fdf6a84 | 2010-06-17 05:22:39 | [diff] [blame] | 11 | ; 10.6 for loading fonts in the renderer. |
12 | ; on 10.5 this is needed for the PDF plugin. | ||||
[email protected] | abf23550 | 2010-10-26 13:41:39 | [diff] [blame] | 13 | (allow file-read* (regex #"^/Library/Fonts($|/)")) |
[email protected] | 3e21831 | 2009-04-16 21:33:09 | [diff] [blame] | 14 | (allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6 |
[email protected] | 810d640 | 2009-10-09 16:23:10 | [diff] [blame] | 15 | ;10.6_ONLY (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6 |
[email protected] | 3a3e5b3 | 2009-08-21 22:30:47 | [diff] [blame] | 16 | |
[email protected] | 620bafa | 2010-11-07 05:45:05 | [diff] [blame^] | 17 | (allow file-read* |
18 | (regex #"^/System/Library/ColorSync($|/)") ; 10.5.6 - http://crbug.com/46648 | ||||
19 | (literal "/Library/Preferences/.GlobalPreferences.plist") ; http://crbug.com/60917 | ||||
20 | (literal "@USER_HOMEDIR_AS_LITERAL@/Library/Preferences/.GlobalPreferences.plist") | ||||
21 | ) | ||||
[email protected] | 699f224 | 2010-07-14 13:05:11 | [diff] [blame] | 22 | |
[email protected] | 620bafa | 2010-11-07 05:45:05 | [diff] [blame^] | 23 | ; http://crbug.com/11269 |
[email protected] | 722d082 | 2010-11-02 09:27:03 | [diff] [blame] | 24 | ;10.6_ONLY (allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fonts")) ; 10.6 |
[email protected] | 620bafa | 2010-11-07 05:45:05 | [diff] [blame^] | 25 | |
26 | ; http://crbug.com/60917 | ||||
27 | (allow file-read-metadata | ||||
28 | (literal "/") | ||||
29 | (literal "/var") | ||||
30 | ) |