mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-04-29 19:01:42 +02:00
remove /dev/std{in,out,err} from landlock restriction
This commit is contained in:
parent
d40aa7f725
commit
8ad53be223
1 changed files with 0 additions and 3 deletions
|
@ -93,9 +93,6 @@ func lock(stage string) {
|
||||||
landlock.RWFiles("/dev/log"),
|
landlock.RWFiles("/dev/log"),
|
||||||
landlock.RWFiles("/dev/null"),
|
landlock.RWFiles("/dev/null"),
|
||||||
landlock.RWFiles("/dev/full"),
|
landlock.RWFiles("/dev/full"),
|
||||||
landlock.RWFiles("/dev/stdin"),
|
|
||||||
landlock.RWFiles("/dev/stdout"),
|
|
||||||
landlock.RWFiles("/dev/stderr"),
|
|
||||||
landlock.RWFiles("/proc/self/fd"),
|
landlock.RWFiles("/proc/self/fd"),
|
||||||
))
|
))
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue