fix: added landlock access to /usr/libexec for getter (#16900)
This commit is contained in:
parent
b0fe69fded
commit
42c4c8d5ea
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
fix: Added "/usr/libexec" to the landlocked directories the getter has access to
|
||||
```
|
|
@ -63,6 +63,7 @@ func lockdown(allocDir, taskDir string) error {
|
|||
landlock.Dir("/bin", "rx"),
|
||||
landlock.Dir("/usr/bin", "rx"),
|
||||
landlock.Dir("/usr/local/bin", "rx"),
|
||||
landlock.Dir("/usr/libexec", "rx"),
|
||||
landlock.Dir(allocDir, "rwc"),
|
||||
landlock.Dir(taskDir, "rwc"),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue