remove /dev/std{in,out,err} from landlock restriction

This commit is contained in:
pufferffish 2024-04-13 02:35:48 +01:00
parent d40aa7f725
commit 8ad53be223

View file

@ -93,9 +93,6 @@ func lock(stage string) {
landlock.RWFiles("/dev/log"),
landlock.RWFiles("/dev/null"),
landlock.RWFiles("/dev/full"),
landlock.RWFiles("/dev/stdin"),
landlock.RWFiles("/dev/stdout"),
landlock.RWFiles("/dev/stderr"),
landlock.RWFiles("/proc/self/fd"),
))
default: