sanebox: allow /dev/fd in the sandbox by default

This commit is contained in:
2024-08-05 22:55:12 +00:00
parent 5eca45891b
commit d1b4e9c923

View File

@@ -768,7 +768,9 @@ landlockSetup() {
# typical failure mode:
# - /tmp: application can't perform its task
# - /dev/{null,random,urandom,zero}: application warns but works around it
# - /dev/fd/*: application fails to open its stdin/stdout/etc
paths+=(
/dev/fd
/dev/null
/dev/random
/dev/urandom