Skip to content

Commit 13dddf9

Browse files
elseiverpalmer-dabbelt
authored andcommitted
RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ
"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/[email protected] Link: https://lore.kernel.org/all/[email protected]/ Reported-by: Ivan Komarov <[email protected]> Closes: https://lore.kernel.org/linux-riscv/CY3Z02NYV1C4.11BLB9PLVW9G1@fedora/ Fixes: e92f469 ("riscv: signal: Report signal frame size to userspace via auxv") Signed-off-by: Victor Isaev <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 653650c commit 13dddf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/include/uapi/asm/auxvec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define AT_L3_CACHEGEOMETRY 47
3535

3636
/* entries in ARCH_DLINFO */
37-
#define AT_VECTOR_SIZE_ARCH 9
37+
#define AT_VECTOR_SIZE_ARCH 10
3838
#define AT_MINSIGSTKSZ 51
3939

4040
#endif /* _UAPI_ASM_RISCV_AUXVEC_H */

0 commit comments

Comments
 (0)