Skip to content

Commit

Permalink
remove /dev/std{in,out,err} from landlock restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
pufferffish committed Apr 13, 2024
1 parent d40aa7f commit 8ad53be
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/wireproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8ad53be

Please sign in to comment.