app_shell: Add version number in user agent
[chromium-blink-merge.git] / content / renderer / renderer.sb
blob184f5936571c578ec929ba623170b80c62a6b5c9
1 ;;
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
4 ;; found in the LICENSE file.
5 ;;
7 ; *** The contents of content/common/common.sb are implicitly included here. ***
9 ; Needed for Fonts.
10 (allow file-read* (regex #"^/System/Library/Fonts($|/)"))  ; 10.5.6
11 ; 10.6 for loading fonts in the renderer.
12 ; on 10.5 this is needed for the PDF plugin.
13 (allow file-read* (regex #"^/Library/Fonts($|/)"))
14 (allow mach-lookup (global-name "com.apple.FontObjectsServer"))  ; 10.5.6
15 (allow mach-lookup (global-name "com.apple.FontServer"))  ; 10.6
17 (allow file-read*
18   (regex #"^/System/Library/ColorSync($|/)")  ; 10.5.6 - http://crbug.com/46648
19   (regex #"^/System/Library/Keyboard Layouts($|/)")  ; http://crbug.com/152566
20   (literal "/Library/Preferences/.GlobalPreferences.plist") ; http://crbug.com/60917
21   (literal "@USER_HOMEDIR_AS_LITERAL@/Library/Preferences/.GlobalPreferences.plist")
24 ; http://crbug.com/11269
25 (allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fonts"))  ; 10.6
27 ; http://crbug.com/60917
28 (allow file-read-metadata
29   (literal "/")
30   (literal "/var")
33 ; http://crbug.com/288697
34 (allow file-read*
35   (regex #"^/(private/)?etc/localtime$")
36   (regex #"^/usr/share/zoneinfo/")
38 (allow file-read-metadata
39   (regex #"^/(private/)?etc$")