]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ
authorVictor Isaev <victor@torrio.net>
Sat, 16 Dec 2023 04:27:20 +0000 (23:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:38:10 +0000 (16:38 +0200)
commit3ea37b8b4b97e9607e6db2664e613e178a5c3149
tree7b529ace366689d9c93793ab4326c81352f487c5
parent9b8612e62b47233cc70ea48d223260c26f68dc24
RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ

[ Upstream commit 13dddf9319808badd2c1f5d7007b4e82838a648e ]

"riscv: signal: Report signal frame size to userspace via auxv" (e92f469)
has added new constant AT_MINSIGSTKSZ but failed to increment the size of
auxv, keeping AT_VECTOR_SIZE_ARCH at 9.
This fix correctly increments AT_VECTOR_SIZE_ARCH to 10, following the
approach in the commit 94b07c1 ("arm64: signal: Report signal frame size
to userspace via auxv").

Link: https://lore.kernel.org/r/73883406.20231215232720@torrio.net
Link: https://lore.kernel.org/all/20240102133617.3649-1-victor@torrio.net/
Reported-by: Ivan Komarov <ivan.komarov@dfyz.info>
Closes: https://lore.kernel.org/linux-riscv/CY3Z02NYV1C4.11BLB9PLVW9G1@fedora/
Fixes: e92f469b0771 ("riscv: signal: Report signal frame size to userspace via auxv")
Signed-off-by: Victor Isaev <isv@google.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/include/uapi/asm/auxvec.h