commit 8055beeb471810c0b4742493854e9a64335ab550
parent 4f6f4aea77ad31874de96af6d2e06f79a0ca088a
Author: Haik Aftandilian <haftandilian@mozilla.com>
Date: Thu, 9 Oct 2025 04:18:54 +0000
Bug 1993258 - macOS GPU process ignores user font smoothing setting r=mac-reviewers,bradwerth
Allow access to defaults services from the GPU process
Differential Revision: https://phabricator.services.mozilla.com/D268037
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/security/sandbox/mac/SandboxPolicyGPU.h b/security/sandbox/mac/SandboxPolicyGPU.h
@@ -127,6 +127,13 @@ static const char SandboxPolicyGPU[] = R"SANDBOX_LITERAL(
(global-name "com.apple.CoreDisplay.Notification")
(global-name "com.apple.cvmsServ"))
+ ; Allow access to defaults services
+ (allow mach-lookup
+ (global-name "com.apple.cfprefsd.agent")
+ (global-name "com.apple.cfprefsd.daemon"))
+ (allow ipc-posix-shm-read-data
+ (ipc-posix-name-regex #"^apple\.cfprefs\..*"))
+
(define (home-subpath home-relative-subpath)
(subpath (string-append homePath home-relative-subpath)))