mbox series

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

Message ID 20241220083926.19453-1-yongxuan.wang@sifive.com (mailing list archive)
Headers show
Series riscv: signal: fix the size of signal frame | expand

Message

Yong-Xuan Wang Dec. 20, 2024, 8:39 a.m. UTC
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(-)