aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-08-26 11:45:00 +0200
committerGitHub <noreply@github.com>2022-08-26 11:45:00 +0200
commit7918adbb628e7781cec1638c371f2009136be68a (patch)
tree318bf0b5ca9f54bfaff3d4d0d8891e9c7ac627c4 /src
parent0b25446f2e20233a32b67796eb776a2193866627 (diff)
parent8e5659423eb9c64cefa3c85af8bed78c4e82eb08 (diff)
Merge pull request #6954 from winterqt/darwin-sandbox-trustd
fix(libstore): allow access to trustd on macOS
Diffstat (limited to 'src')
-rw-r--r--src/libstore/sandbox-network.sb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/sandbox-network.sb b/src/libstore/sandbox-network.sb
index 56beec761..19e9eea9a 100644
--- a/src/libstore/sandbox-network.sb
+++ b/src/libstore/sandbox-network.sb
@@ -14,3 +14,7 @@
; Allow DNS lookups.
(allow network-outbound (remote unix-socket (path-literal "/private/var/run/mDNSResponder")))
+
+; Allow access to trustd.
+(allow mach-lookup (global-name "com.apple.trustd"))
+(allow mach-lookup (global-name "com.apple.trustd.agent"))