diff options
author | Yong-Xuan Wang <yongxuan.wang@sifive.com> | 2024-12-20 11:39:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 20:27:14 +0300 |
commit | 87ba35b7a35382438c591249e9e824e5a1336075 (patch) | |
tree | 8f0d068d2bd7ecca25480a6092f290081d2608ff /scripts/generate_rust_analyzer.py | |
parent | f2a5be96f8a14197565f10061ceead33f50fbc0a (diff) | |
download | linux-87ba35b7a35382438c591249e9e824e5a1336075.tar.xz |
riscv: signal: fix signal_minsigstksz
commit 564fc8eb6f78e01292ff10801f318feae6153fdd upstream.
The init_rt_signal_env() funciton is called before the alternative patch
is applied, so using the alternative-related API to check the availability
of an extension within this function doesn't have the intended effect.
This patch reorders the init_rt_signal_env() and apply_boot_alternatives()
to get the correct signal_minsigstksz.
Fixes: e92f469b0771 ("riscv: signal: Report signal frame size to userspace via auxv")
Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Reviewed-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Andy Chiu <andybnac@gmail.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20241220083926.19453-3-yongxuan.wang@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions