]> git.ipfire.org Git - thirdparty/glibc.git/commit
riscv: linux: Add support for getrandom vDSO
authorXi Ruoyao <xry111@xry111.site>
Thu, 19 Jun 2025 16:25:32 +0000 (00:25 +0800)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 23 Jun 2025 14:48:15 +0000 (11:48 -0300)
commitfc6f074e0496fb8a8df491641165f4ed3cdaa3a3
tree71f3767795ed8a53c1032c0e669081db178a3ee9
parent47b577c66f2f51305d1802195f868d6b43e6d84a
riscv: linux: Add support for getrandom vDSO

Linux kernel >= 6.16 has getrandom() in vDSO for RISC-V.  Enable the use
of it in Glibc so it would benefit the programs using the Glibc high
quality random number functions.

Link: https://git.kernel.org/torvalds/c/ee0d03053e70
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/riscv/sysdep.h