fix(module_host): grant Landlock access to IPC socket path
All checks were successful
dev release / build (push) Successful in 1m2s
All checks were successful
dev release / build (push) Successful in 1m2s
Out-of-process modules timed out with "did not report ready within 45s" because apply_sandbox never allowed the child to reach breadd's Unix socket. Path-based AF_UNIX connect is mediated as filesystem access, so without a rule for the socket (and its parent) UnixStream::connect failed with EACCES and the hello handshake never completed. Pass socket_path into apply_sandbox and add baseline ReadDir/ReadFile rules for the socket directory and path, matching the existing module- directory grant. Update unit-test call sites accordingly.
This commit is contained in:
parent
81fbc46e4f
commit
da889d6f6a
12 changed files with 31458 additions and 30915 deletions
320
graphify-out/graph.html
Normal file
320
graphify-out/graph.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue