mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-19 17:46:46 +02:00
Merge pull request #10078 from szlend/fix-macos-local-network-sandbox
Fix `__darwinAllowLocalNetworking` sandbox
This commit is contained in:
commit
7764edf0e4
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ R""(
|
||||||
; allow it if the package explicitly asks for it.
|
; allow it if the package explicitly asks for it.
|
||||||
(if (param "_ALLOW_LOCAL_NETWORKING")
|
(if (param "_ALLOW_LOCAL_NETWORKING")
|
||||||
(begin
|
(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
|
; Allow access to /etc/resolv.conf (which is a symlink to
|
||||||
; /private/var/run/resolv.conf).
|
; /private/var/run/resolv.conf).
|
||||||
|
|
Loading…
Reference in a new issue