diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2019-03-27 10:47:28 +0100 |
|---|---|---|
| committer | Eduardo Otubo <otubo@redhat.com> | 2019-03-27 13:11:38 +0100 |
| commit | 035121d23abcafcc2f346627d48132073d2e71d7 (patch) | |
| tree | b4022a2939cab3bbb41e77cbfe9bf2f1f58a2e15 /net/socket.c | |
| parent | 9a1565a03b79d80b236bc7cc2dbce52a2ef3a1b8 (diff) | |
| download | focaccia-qemu-035121d23abcafcc2f346627d48132073d2e71d7.tar.gz focaccia-qemu-035121d23abcafcc2f346627d48132073d2e71d7.zip | |
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 'net/socket.c')
0 files changed, 0 insertions, 0 deletions