Skip to content

Commit

Permalink
Merge pull request #11316 from NixOS/backport-11270-to-2.21-maintenance
Browse files Browse the repository at this point in the history
[Backport 2.21-maintenance] libstore: fix port binding in __darwinAllowLocalNetworking sandbox
  • Loading branch information
tomberek authored Aug 17, 2024
2 parents 8ac1a39 + 53ce99f commit a4c9218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstore/build/sandbox-defaults.sb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ R""(
(if (param "_ALLOW_LOCAL_NETWORKING")
(begin
(allow network* (remote ip "localhost:*"))
(allow network-inbound (local ip "*:*")) ; required to bind and listen

; Allow access to /etc/resolv.conf (which is a symlink to
; /private/var/run/resolv.conf).
Expand Down

0 comments on commit a4c9218

Please sign in to comment.