Re: [PATCH] sparc32: signal: Fix stack trampoline for RT signals

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

 



From: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
Date: Thu, 27 Aug 2020 17:47:36 +0100

> The stack trampoline generated by the sparc32 native version of
> setup_rt_frame() calls sigreturn(), not rt_sigreturn().  This will
> crash the task if it's ever used.  (glibc sets its own restorer, so
> was not affected.)
> 
> The sparc64 compat implementation has the right syscall number.
> 
> This is untested; I have no way to run a sparc32 kernel.
> 
> Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>

Applied, thanks Ben.



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux