On 25/03/2019 - 15:52:27, Daniel P. Berrange wrote:
> On Mon, Mar 25, 2019 at 04:25:19PM +0100, Marc-André Lureau wrote:
> > Hi
> >
> > On Mon, Mar 25, 2019 at 3:07 PM Daniel P. Berrangé
> > wrote:
> > >
> > > Most of the seccomp functions return errnos as a negative return
> > > value. The
On Mon, Mar 25, 2019 at 04:25:19PM +0100, Marc-André Lureau wrote:
> Hi
>
> On Mon, Mar 25, 2019 at 3:07 PM Daniel P. Berrangé
> wrote:
> >
> > Most of the seccomp functions return errnos as a negative return
> > value. The code is currently ignoring these and reporting a generic
> > error
Hi
On Mon, Mar 25, 2019 at 3:07 PM Daniel P. Berrangé wrote:
>
> 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
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.