aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2019-03-27 10:47:28 +0100
committerEduardo Otubo <otubo@redhat.com>2019-03-27 13:11:38 +0100
commit035121d23abcafcc2f346627d48132073d2e71d7 (patch)
treeb4022a2939cab3bbb41e77cbfe9bf2f1f58a2e15 /ui
parent9a1565a03b79d80b236bc7cc2dbce52a2ef3a1b8 (diff)
downloadqemu-035121d23abcafcc2f346627d48132073d2e71d7.zip
qemu-035121d23abcafcc2f346627d48132073d2e71d7.tar.gz
qemu-035121d23abcafcc2f346627d48132073d2e71d7.tar.bz2
seccomp: report more useful errors from seccomp
Most of the seccomp functions return errnos as a negative return value. The code is currently ignoring these and reporting a generic error message for all seccomp failure scenarios making debugging painful. Report a more precise error from each failed call and include errno if it is available. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Eduardo Otubo <otubo@redhat.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions