[PATCH v2 0/2] riscv: signal: fix the size of signal frame

Yong-Xuan Wang yongxuan.wang at sifive.com
Fri Dec 20 00:39:22 PST 2024


This series addresses two issues about the RISC-V signal frame size
calculation. PATCH1 removes the unnecessary header preservation for the
END header. PATCH2 reorders the apply_boot_alternatives() and
init_rt_signal_env() to get the correct signal_minsigstksz.

Yong-Xuan Wang (2):
  riscv: signal: fix signal frame size
  riscv: signal: fix signal_minsigstksz

---
v2:
- Remove the refactor of init_rt_signal_env(). Instead, we can just
  put it after apply_boot_alternatives(). (Andy)
---

 arch/riscv/kernel/setup.c  | 2 +-
 arch/riscv/kernel/signal.c | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

-- 
2.17.1




More information about the linux-riscv mailing list