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

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

Issue 1280443003: Allow OpenCL to open libraries in /usr/lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« content/common/common.sb ('K') | « content/common/sandbox_mac.mm ('k') | 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 18 matching lines...) Expand all
29 ) 29 )
30 30
31 ; http://crbug.com/288697 31 ; http://crbug.com/288697
32 (allow file-read* 32 (allow file-read*
33 (regex #"^/(private/)?etc/localtime$") 33 (regex #"^/(private/)?etc/localtime$")
34 (regex #"^/usr/share/zoneinfo/") 34 (regex #"^/usr/share/zoneinfo/")
35 ) 35 )
36 (allow file-read-metadata 36 (allow file-read-metadata
37 (regex #"^/(private/)?etc$") 37 (regex #"^/(private/)?etc$")
38 ) 38 )
39
40 ; http://crbug.com/508935
41 (if (param-true? elcap-or-later)
42 (allow file-read*
43 (literal "/usr/lib/libcsfde.dylib")
44 (regex #"^/usr/lib/libcurl(.4)?.dylib$")
Robert Sesek 2015/08/05 22:35:58 Should you escape the periods here as literals, so
Greg K 2015/08/06 00:17:09 I'm pretty sure that's what the # sign in front of
45 (literal "/usr/lib/libCoreStorage.dylib")
46 (literal "/usr/lib/libutil.dylib")
47 ))
OLDNEW
« content/common/common.sb ('K') | « content/common/sandbox_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698