1
linux/arch/x86/entry/vdso
Xi Ruoyao 4d456f0c87 random: vDSO: add a __vdso_getrandom prototype for all architectures
Without a prototype, we'll have to add a prototype for each architecture
implementing vDSO getrandom. As most architectures will likely have the
vDSO getrandom implemented in a near future, and we'd like to keep the
declarations compatible everywhere (to ease the libc implementor work),
we should really just have one copy of the prototype.

This also is what's already done inside of include/vdso/gettime.h for
those vDSO functions, so this continues that convention.

Suggested-by: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Acked-by: Huacai Chen <chenhuacai@kernel.org>
[Jason: rewrite docbook comment for prototype.]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2024-09-13 17:28:35 +02:00
..
vdso32
.gitignore
checkundef.sh
extable.c
extable.h
Makefile x86: vdso: Wire up getrandom() vDSO implementation 2024-07-19 20:22:12 +02:00
vclock_gettime.c arch: vdso: consolidate gettime prototypes 2023-11-23 11:32:32 +01:00
vdso2c.c
vdso2c.h
vdso32-setup.c
vdso-layout.lds.S
vdso-note.S
vdso.lds.S x86: vdso: Wire up getrandom() vDSO implementation 2024-07-19 20:22:12 +02:00
vdsox32.lds.S
vgetcpu.c
vgetrandom-chacha.S x86: vdso: Wire up getrandom() vDSO implementation 2024-07-19 20:22:12 +02:00
vgetrandom.c random: vDSO: add a __vdso_getrandom prototype for all architectures 2024-09-13 17:28:35 +02:00
vma.c random: vDSO: add __arch_get_k_vdso_rng_data() helper for data page access 2024-09-13 17:28:35 +02:00
vsgx.S