Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: content/renderer/renderer.sb

Issue 1973153003: OSX: Allow to read "/System/Library/LinguisticData" in sandbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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($|/)"))
(...skipping 26 matching lines...) Expand all
37 ; TODO(tkent): Remove this section when we drop 'results' attribute support. 37 ; TODO(tkent): Remove this section when we drop 'results' attribute support.
38 ; https://crbug.com/590117 38 ; https://crbug.com/590117
39 (if (param-true? elcap-or-later) 39 (if (param-true? elcap-or-later)
40 (allow file-read* 40 (allow file-read*
41 (literal "/usr/lib/libcrypto.0.9.8.dylib") 41 (literal "/usr/lib/libcrypto.0.9.8.dylib")
42 (literal "/usr/lib/libcsfde.dylib") 42 (literal "/usr/lib/libcsfde.dylib")
43 (literal "/usr/lib/libcurl.4.dylib") 43 (literal "/usr/lib/libcurl.4.dylib")
44 (literal "/usr/lib/libCoreStorage.dylib") 44 (literal "/usr/lib/libCoreStorage.dylib")
45 (literal "/usr/lib/libsasl2.2.dylib") 45 (literal "/usr/lib/libsasl2.2.dylib")
46 (literal "/usr/lib/libutil.dylib"))) 46 (literal "/usr/lib/libutil.dylib")))
47
48 ; https://crbug.com/605840
49 ; file-read-metadata /System/Library/LinguisticData/en/US/hyphenation.dat
50 ; for CFStringIsHyphenationAvailableForLocale and CFStringGetHyphenationLocation BeforeIndex
51 (allow file-read* (subpath "/System/Library/LinguisticData"))
kojii 2016/05/12 23:27:28 Changed from the original for "Failed to initializ
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698