[PATCH] RISC-V: vDSO: Wire up getrandom() vDSO implementation

Jason A. Donenfeld Jason at zx2c4.com
Mon Feb 24 08:57:24 PST 2025


On Mon, Feb 24, 2025 at 1:26 PM Xi Ruoyao <xry111 at xry111.site> wrote:
>
> Hook up the generic vDSO implementation to the LoongArch vDSO data page
> by providing the required __arch_chacha20_blocks_nostack,
> __arch_get_k_vdso_rng_data, and getrandom_syscall implementations. Also
> wire up the selftests.

Thomas noted the LoongArch copypasta, but also, there's no
__arch_get_k_vdso_rng_data implementation here, like the message says,
presumably because of the generic data storage work.



More information about the linux-riscv mailing list