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 ; *** The contents of content/common/common.sb are implicitly included here. *** | 7 ; *** The contents of content/common/common.sb are implicitly included here. *** |
| 8 | 8 |
| 9 ; Needed for Fonts. | 9 ; Needed for Fonts. |
| 10 (allow file-read* (regex #"^/System/Library/Fonts($|/)")) | 10 (allow file-read* (regex #"^/System/Library/Fonts($|/)")) |
| 11 (allow file-read* (regex #"^/Library/Fonts($|/)")) | 11 (allow file-read* (regex #"^/Library/Fonts($|/)")) |
| 12 (allow file-read* (regex #"^/System/Library/Assets/com_apple_MobileAsset_Font3($ |/)")) | |
|
Robert Sesek
2016/11/17 17:51:29
Can you add a comment with the bug URL?
| |
| 12 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) | 13 (allow mach-lookup (global-name "com.apple.FontObjectsServer")) |
| 13 (allow mach-lookup (global-name "com.apple.FontServer")) | 14 (allow mach-lookup (global-name "com.apple.FontServer")) |
| 14 (allow mach-lookup (global-name "com.apple.fonts")) | 15 (allow mach-lookup (global-name "com.apple.fonts")) |
| 15 | 16 |
| 16 (allow file-read* | 17 (allow file-read* |
| 17 (regex #"^/System/Library/ColorSync($|/)") ; https://crbug.com/46648 | 18 (regex #"^/System/Library/ColorSync($|/)") ; https://crbug.com/46648 |
| 18 (regex #"^/System/Library/Keyboard Layouts($|/)") ; https://crbug.com/152566 | 19 (regex #"^/System/Library/Keyboard Layouts($|/)") ; https://crbug.com/152566 |
| 19 (literal "/Library/Preferences/.GlobalPreferences.plist") ; https://crbug.com/ 60917 | 20 (literal "/Library/Preferences/.GlobalPreferences.plist") ; https://crbug.com/ 60917 |
| 20 (literal (user-homedir-path "/Library/Preferences/.GlobalPreferences.plist"))) | 21 (literal (user-homedir-path "/Library/Preferences/.GlobalPreferences.plist"))) |
| 21 | 22 |
| 22 ; https://crbug.com/11269 | 23 ; https://crbug.com/11269 |
| 23 (allow file-read* (subpath (user-homedir-path "/Library/Fonts"))) | 24 (allow file-read* (subpath (user-homedir-path "/Library/Fonts"))) |
| 24 | 25 |
| 25 ; https://crbug.com/60917 | 26 ; https://crbug.com/60917 |
| 26 (allow file-read-metadata | 27 (allow file-read-metadata |
| 27 (literal "/") | 28 (literal "/") |
| 28 (literal "/var")) | 29 (literal "/var")) |
| 29 | 30 |
| 30 ; https://crbug.com/288697 | 31 ; https://crbug.com/288697 |
| 31 (allow file-read* | 32 (allow file-read* |
| 32 (regex #"^/(private/)?etc/localtime$") | 33 (regex #"^/(private/)?etc/localtime$") |
| 33 (regex #"^/usr/share/zoneinfo/")) | 34 (regex #"^/usr/share/zoneinfo/")) |
| 34 | 35 |
| 35 (allow file-read-metadata (regex #"^/(private/)?etc$")) | 36 (allow file-read-metadata (regex #"^/(private/)?etc$")) |
| 36 | 37 |
| 37 ; https://crbug.com/605840 | 38 ; https://crbug.com/605840 |
| 38 ; file-read-metadata /System/Library/LinguisticData/en/US/hyphenation.dat | 39 ; file-read-metadata /System/Library/LinguisticData/en/US/hyphenation.dat |
| 39 ; for CFStringIsHyphenationAvailableForLocale and CFStringGetHyphenationLocation BeforeIndex | 40 ; for CFStringIsHyphenationAvailableForLocale and CFStringGetHyphenationLocation BeforeIndex |
| 40 (allow file-read* (subpath "/System/Library/LinguisticData")) | 41 (allow file-read* (subpath "/System/Library/LinguisticData")) |
| OLD | NEW |