crosvm/seccomp
Daniel Verkamp 6a7fdb4510 seccomp: add getcwd and readlink to common policy for panic
The panic handler uses getcwd and readlink to print out the executable
name in the backtrace. Allow these for all devices so that panics
actually work instead of crashing the process.

BUG=None
TEST=intentionally panic crosvm on kevin and check /var/log/messages

Change-Id: If64a752a6f0b1f2f6bdd6663ce77078305f38171
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3309201
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2021-12-02 23:18:03 +00:00
..
aarch64 seccomp: add getcwd and readlink to common policy for panic 2021-12-02 23:18:03 +00:00
arm seccomp: add getcwd and readlink to common policy for panic 2021-12-02 23:18:03 +00:00
x86_64 seccomp: add getcwd and readlink to common policy for panic 2021-12-02 23:18:03 +00:00