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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux