[email protected] | e8aa85c | 2009-02-17 19:08:44 | [diff] [blame] | 1 | ;; |
[email protected] | 8a72f64c | 2011-04-07 18:04:57 | [diff] [blame] | 2 | ;; Copyright (c) 2011 The Chromium Authors. All rights reserved. |
[email protected] | e8aa85c | 2009-02-17 19:08:44 | [diff] [blame] | 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] | 8a72f64c | 2011-04-07 18:04:57 | [diff] [blame] | 7 | ; *** The contents of content/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] | 7b7fc63 | 2011-05-24 09:06:40 | [diff] [blame] | 15 | ;10.6_OR_ABOVE (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] | 7b7fc63 | 2011-05-24 09:06:40 | [diff] [blame] | 24 | ;10.6_OR_ABOVE (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 | ) |