[Devel] Re: [PATCH] checkpoint: use syscall_get_error

Nathan Lynch ntl at pobox.com
Fri Mar 12 10:59:38 PST 2010


On Fri, 2010-03-12 at 12:26 -0600, Nathan Lynch wrote:
> restore_retval() uses the result of syscall_get_return_value() to
> determine whether a syscall is to return an error.  This isn't
> portable and doesn't work on powerpc.  Instead, use
> syscall_get_error(), which encapsulates the arch-specific logic for
> determining syscall error state.

This one seems likely to change behavior on s390; Serge are you able to
check?


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list