summaryrefslogtreecommitdiff
path: root/test/libapt/openmaybeclearsignedfile_test.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-10-25 21:49:34 +0200
committerJulian Andres Klode <jak@debian.org>2017-10-25 22:16:24 +0200
commit230b0570532bf2f419608b2043a9d6e02b9467e3 (patch)
tree6881ff8906680f379fe7112eca7510777332239f /test/libapt/openmaybeclearsignedfile_test.cc
parente04bed5109af34a6f14179b3b45b4a8352548d1a (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 'test/libapt/openmaybeclearsignedfile_test.cc')
0 files changed, 0 insertions, 0 deletions