aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-08-24 13:09:44 -0400
committerWinter <winter@winter.cafe>2022-08-24 13:09:44 -0400
commit8e5659423eb9c64cefa3c85af8bed78c4e82eb08 (patch)
tree785292eb217cbd3d9938912c09acd85962e5c536
parentd5e979ab87ab894fde132799dac242780b28bc05 (diff)
fix(libstore): allow access to trustd on macOS
-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"))