[PATCH v2 1/3] aarch64: Re-implement setcontext without rt_sigreturn syscall

Marcus Shawcroft marcus.shawcroft@gmail.com
Thu Apr 17 09:02:00 GMT 2014


On 1 April 2014 12:32, Will Newton <will.newton@linaro.org> wrote:

> ChangeLog:
>
> 2014-04-01  Will Newton  <will.newton@linaro.org>
>
>         [BZ #16629]
>         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
>         Re-implement to restore registers in user code and avoid
>         rt_sigreturn system call.

OK, but, with reference to:

https://sourceware.org/ml/libc-alpha/2014-03/msg00594.html

would you mind adding a comment to the context recovery code spelling
out that we don;t handle kernel created contexts therefore it is safe
to assume a fixed context layout?

Cheers
/Marcus



More information about the Libc-alpha mailing list