linux-next/lib/vdso
Christophe Leroy b7bad082e1 random: vDSO: avoid call to out of line memset()
With the current implementation, __cvdso_getrandom_data() calls
memset() on certain architectures, which is unexpected in the VDSO.

Rather than providing a memset(), simply rewrite opaque data
initialization to avoid memset().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2024-09-13 17:28:35 +02:00
..
getrandom.c random: vDSO: avoid call to out of line memset() 2024-09-13 17:28:35 +02:00
gettimeofday.c vdso/gettimeofday: Clarify comment about open coded function 2024-07-03 21:27:03 +02:00
Kconfig random: introduce generic vDSO getrandom() implementation 2024-07-19 20:22:12 +02:00
Makefile random: vDSO: add missing c-getrandom-y in Makefile 2024-09-13 17:28:35 +02:00