Merge pull request #11319 from NixOS/backport-11270-to-2.24-maintenance

[Backport 2.24-maintenance] libstore: fix port binding in __darwinAllowLocalNetworking sandbox
This commit is contained in:
tomberek 2024-08-17 03:17:29 -04:00 committed by GitHub
commit 3ac5d736e2
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).