Commit cc45262
committed
fix(ie-sandbox): add missing landlock rules for DNS resolution #75
Add /etc/host.conf, /etc/gai.conf, /etc/ld.so.cache to landlock
whitelist for network profile. Add /usr/lib, /lib, /lib64 for read
access to glibc NSS modules (libnss_dns.so etc.) needed by
getaddrinfo().
This fixes DNS resolution in the sandboxed network child process.
External HTTPS connections still fail (tracked in #75) — use
--single-process as workaround.1 parent ab2bebb commit cc45262
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
81 | 96 | | |
82 | 97 | | |
83 | 98 | | |
| |||
0 commit comments