Merge pull request #10078 from szlend/fix-macos-local-network-sandbox

Fix `__darwinAllowLocalNetworking` sandbox
This commit is contained in:
Théophane Hufschmitt 2024-03-04 14:34:57 +01:00 committed by GitHub
commit 7764edf0e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ R""(
; allow it if the package explicitly asks for it.
(if (param "_ALLOW_LOCAL_NETWORKING")
(begin
(allow network* (local ip) (local tcp) (local udp))
(allow network* (remote ip "localhost:*"))
; Allow access to /etc/resolv.conf (which is a symlink to
; /private/var/run/resolv.conf).