Bug 1417420 - Add the path used by FontAgent to the sandbox rules on macOS. r=haik a=gchang
authorJonathan Kew <jkew@mozilla.com>
Wed, 15 Nov 2017 17:59:44 +0000
changeset 444813 cd0cba138a4c336e25bd1b6e05dffe822f6bd537
parent 444812 59c2cb4225938b754a44b1c79877a988722e4a0c
child 444814 430feea6f9a5a817ee36728bfd78ec8542d0dc24
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershaik, gchang
bugs1417420
milestone58.0
Bug 1417420 - Add the path used by FontAgent to the sandbox rules on macOS. r=haik a=gchang
security/sandbox/mac/SandboxPolicies.h
--- a/security/sandbox/mac/SandboxPolicies.h
+++ b/security/sandbox/mac/SandboxPolicies.h
@@ -215,16 +215,17 @@ static const char contentSandboxRules[] 
       (home-literal "/Library/Preferences/com.apple.DownloadAssessment.plist")
       (home-subpath "/Library/Colors")
       (home-subpath "/Library/Fonts")
       (home-subpath "/Library/FontCollections")
       (home-subpath "/Library/Keyboard Layouts")
       (home-subpath "/Library/Input Methods")
       (home-subpath "/Library/Spelling")
       (home-subpath "/Library/Application Support/Adobe/CoreSync/plugins/livetype")
+      (home-subpath "/Library/Application Support/FontAgent")
 
       (subpath appdir-path)
 
       (literal appPath)
       (literal appBinaryPath))
 
   (when testingReadPath1
     (allow file-read* (subpath testingReadPath1)))