[Devel] Re: [PATCH] checkpoint: use syscall_get_error
Serge E. Hallyn
serue at us.ibm.com
Fri Mar 12 11:35:05 PST 2010
Quoting Nathan Lynch (ntl at pobox.com):
> 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?
>
Looks like it should do the right thing, and cr_tests are still passing,
so
Acked-by: Serge Hallyn <serue at us.ibm.com>
Tested-by: Serge Hallyn <serue at us.ibm.com>
thanks,
-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list