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: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 17 Apr 2014 10:02:48 +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>
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