1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Merge pull request #11270 from amarshall/fix-darwin-sandbox-local-networking

libstore: fix port binding in __darwinAllowLocalNetworking sandbox
This commit is contained in:
tomberek 2024-08-16 23:17:21 -04:00 committed by GitHub
commit 9e37a93229
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,6 +49,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).