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

Unified Diff: content/ppapi_plugin/ppapi.sb

Issue 1186233004: Refactor OS X sandbox processing and audit sandbox files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor OS X sandbox processing and audit sandbox files Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/ppapi_plugin/ppapi.sb
diff --git a/content/ppapi_plugin/ppapi.sb b/content/ppapi_plugin/ppapi.sb
index 9ef9d31e176221648e2f7dcf514014535b3376fd..fc1be1a24a2081b98944657836a8c01f07efa27d 100644
--- a/content/ppapi_plugin/ppapi.sb
+++ b/content/ppapi_plugin/ppapi.sb
@@ -9,12 +9,10 @@
; *** The contents of content/common/common.sb are implicitly included here. ***
; Needed for Fonts.
-(allow file-read* (regex #"^/System/Library/Fonts($|/)")) ; 10.5.6
+(allow file-read* (regex #"^/System/Library/Fonts($|/)"))
; 10.6 for loading fonts in the renderer.
-; on 10.5 this is needed for the PDF plugin.
(allow file-read* (regex #"^/Library/Fonts($|/)"))
-(allow mach-lookup (global-name "com.apple.FontObjectsServer")) ; 10.5.6
Robert Sesek 2015/06/16 23:52:41 Wow, can we really remove this?
Greg K 2015/06/18 20:45:18 Yeah, from digging around on Google and Webkit2 so
(allow mach-lookup (global-name "com.apple.FontServer")) ; 10.6
; http://crbug.com/11269
-(allow file-read* (subpath "@USER_HOMEDIR_AS_LITERAL@/Library/Fonts")) ; 10.6
+(allow file-read* (subpath (string-append (param homedir-as-literal) "/Library/Fonts"))) ; 10.6

Powered by Google App Engine
This is Rietveld 408576698