lkml.org 
[lkml]   [2021]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH V4 14/22] LoongArch: Add signal handling support
Hi, Al,

On Sun, Oct 3, 2021 at 10:36 AM Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> 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.
Thanks, regs[0] should be cleared here.

Huacai

\
 
 \ /
  Last update: 2021-10-03 11:10    [W:0.088 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site