summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin/ppapi.sb
blob: 79250318d9869638f537259dcb62c78de95bda6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;;
;; Copyright (c) 2012 The Chromium Authors. All rights reserved.
;; Use of this source code is governed by a BSD-style license that can be
;; found in the LICENSE file.
;;

; TODO(viettrungluu): Confirm that the exceptions below are needed.

; *** The contents of content/common/common.sb are implicitly included here. ***

; Needed for Fonts.
(allow file-read* (regex #"^/System/Library/Fonts($|/)"))
(allow file-read* (regex #"^/Library/Fonts($|/)"))
(allow mach-lookup (global-name "com.apple.FontObjectsServer"))
(allow mach-lookup (global-name "com.apple.FontServer"))

; https://crbug.com/11269
(allow file-read* (subpath (user-homedir-path "/Library/Fonts")))