diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2024-01-31 17:02:15 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2024-03-19 20:17:12 +0000 |
commit | e79f8b8b2d70a85200af14deb65d399597d780f5 (patch) | |
tree | 18b9ce7220d581023b7f1c7ba44fe394f1ea9066 /chardev | |
parent | c62d54d0a8067ffb3d5b909276f7296d7df33fa7 (diff) |
seccomp: report EPERM instead of killing process for spawn set
When something tries to run one of the spawn syscalls (eg clone),
our seccomp deny filter is set to cause a fatal trap which kills
the process.
This is found to be unhelpful when QEMU has loaded the nvidia
GL library. This tries to spawn a process to modprobe the nvidia
kmod. This is a dubious thing to do, but at the same time, the
code will gracefully continue if this fails. Our seccomp filter
rightly blocks the spawning, but prevent the graceful continue.
Switching to reporting EPERM will make QEMU behave more gracefully
without impacting the level of protect we have.
https://gitlab.com/qemu-project/qemu/-/issues/2116
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'chardev')
0 files changed, 0 insertions, 0 deletions