linux/arch/riscv/include/uapi/asm
Victor Isaev 4e73748d59 RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ
[ Upstream commit 13dddf9319 ]

"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: e92f469b07 ("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>
2024-04-10 16:35:58 +02:00
..
auxvec.h RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ 2024-04-10 16:35:58 +02:00
bitsperlong.h asm-generic: partially revert "Unify uapi bitsperlong.h for arm64, riscv and loongarch" 2023-08-17 14:51:20 +02:00
bpf_perf_event.h riscv, bpf: Add missing uapi header for BPF_PROG_TYPE_PERF_EVENT programs 2019-12-19 16:03:31 +01:00
byteorder.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
elf.h riscv: clean up the macro format in each header file 2019-11-12 12:04:52 -08:00
hwcap.h riscv: Extending cpufeature.c to detect V-extension 2023-06-08 07:16:35 -07:00
hwprobe.h Merge patch series "RISC-V: Export Zba, Zbb to usermode via hwprobe" 2023-06-19 14:34:40 -07:00
Kbuild treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00
kvm.h RISC-V: KVM: provide UAPI for host SATP mode 2023-08-08 17:25:40 +05:30
perf_regs.h riscv: Add support for perf registers sampling 2019-09-05 00:48:58 -07:00
ptrace.h Merge patch "RISC-V: Add ptrace support for vectors" 2023-09-08 11:24:38 -07:00
setup.h riscv: Bump COMMAND_LINE_SIZE value to 1024 2023-03-01 18:35:43 -08:00
sigcontext.h riscv: sigcontext: Correct the comment of sigreturn 2023-07-11 13:05:19 -07:00
ucontext.h riscv: fix styling in ucontext header 2022-10-28 14:46:16 -07:00
unistd.h RISC-V: Add a syscall for HW probing 2023-04-18 15:48:14 -07:00