Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 ;; | 1 ;; |
| 2 ;; Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 ;; Copyright (c) 2011 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 | 6 |
| 7 ; TODO(viettrungluu): Confirm that the exceptions below are needed. | 7 ; TODO(viettrungluu): Confirm that the exceptions below are needed. |
| 8 | 8 |
| 9 ; *** The contents of content/common/common.sb are implicitly included here. *** | 9 ; *** The contents of content/common/common.sb are implicitly included here. *** |
| 10 | 10 |
| 11 ; Needed for Fonts. | 11 ; Needed for Fonts. |
| 12 (allow file-read* (regex #"^/System/Library/Fonts($|/)")) ; 10.5.6 | 12 (allow file-read* (regex #"^/System/Library/Fonts($|/)")) ; 10.5.6 |
| 13 ; 10.6 for loading fonts in the renderer. | 13 ; 10.6 for loading fonts in the renderer. |
| 14 ; on 10.5 this is needed for the PDF plugin. | 14 ; on 10.5 this is needed for the PDF plugin. |
| 15 (allow file-read* (regex #"^/Library/Fonts($|/)")) | 15 (allow file-read* (regex #"^/Library/Fonts($|/)")) |
| 16 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6 | 16 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6 |
| 17 ;10.6_OR_ABOVE (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6 | 17 ;10.6_OR_ABOVE (allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6 |
| 18 | 18 |
| 19 ; http://crbug.com/11269 | 19 ; http://crbug.com/11269 |
| 20 ;10.6_OR_ABOVE (allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fon ts")) ; 10.6 | 20 ;10.6_OR_ABOVE (allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fon ts")) ; 10.6 |
| 21 | |
| 22 ; Bits of Adobe Flash wish to open /dev/urandom directly rather than | |
| 23 ; using our cached file descriptor. | |
| 24 (allow file-read* (literal "/dev/urandom")) | |
|
jeremy
2012/07/16 11:36:40
Any chance that just file-read-data is enough here
Scott Hess - ex-Googler
2012/07/16 16:36:42
Done. Writing to the file can be used to add entr
| |
| OLD | NEW |