Re: [PATCH V4 14/22] LoongArch: Add signal handling support

From
Al Viro <viro@zeniv.linux.org.uk>
Date
2021-10-03 02:36:10
Also in
linux-arch, lkml
Reply to
Huacai Chen, 2021-09-27
On Mon, Sep 27, 2021 at 02:42:51PM +0800, Huacai Chen wrote:
This patch adds signal handling support for LoongArch.
No matter what you get in regs[4] after sys_rt_sigreturn(),
you should *NOT* treat it as restartable.  IOW, you need to set
regs[0] to 0 in there (or in restore_sigcontext()).  See e.g.
653d48b22166 for details of similar bug on arm.
Thread (41 messages) 41 messages, 6 authors, last reply 2021-10-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help