Skip to content

Commit

Permalink
Merge pull request #10078 from szlend/fix-macos-local-network-sandbox
Browse files Browse the repository at this point in the history
Fix `__darwinAllowLocalNetworking` sandbox
  • Loading branch information
thufschmitt committed Mar 4, 2024
2 parents 4388559 + d60c3f7 commit 7764edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/build/sandbox-defaults.sb
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 7764edf

Please sign in to comment.