This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 1/3] aarch64: Re-implement setcontext without rt_sigreturn syscall
- From: Will Newton <will dot newton at linaro dot org>
- To: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 17 Apr 2014 11:42:12 +0100
- Subject: Re: [PATCH v2 1/3] aarch64: Re-implement setcontext without rt_sigreturn syscall
- Authentication-results: sourceware.org; auth=none
- References: <1396351967-1952-1-git-send-email-will dot newton at linaro dot org> <CAFqB+PxMd9JLfRqTDPozfMX+biJBmRT5VmKV4Ank2xfvOKc3Jw at mail dot gmail dot com>
On 17 April 2014 10:02, Marcus Shawcroft <marcus.shawcroft@gmail.com> wrote:
> 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?
Thanks Marcus, committed with a comment added.
--
Will Newton
Toolchain Working Group, Linaro