diff options
author | Julian Andres Klode <jak@debian.org> | 2017-10-25 21:49:34 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-10-25 22:16:24 +0200 |
commit | 230b0570532bf2f419608b2043a9d6e02b9467e3 (patch) | |
tree | 6881ff8906680f379fe7112eca7510777332239f /apt-private/private-main.cc | |
parent | e04bed5109af34a6f14179b3b45b4a8352548d1a (diff) |
Only warn about seccomp() EINVAL (normal) and EFAULT (qemu) errors
If seccomp is disabled, we fallback to running without it. Qemu fails
in the seccomp() call, returning ENOSYS and libseccomp falls back to
prctl() without adjusting the pointer, causing the EFAULT. I hope
qemu gets fixed at some point to return EINVAL for seccomp via
prctl.
Bug-Qemu: https://bugs.launchpad.net/qemu/+bug/1726394
Diffstat (limited to 'apt-private/private-main.cc')
0 files changed, 0 insertions, 0 deletions