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 x86/vdso: Fake 32bit VDSO build on 64bit compile for vgetcpu 2023-02-07 18:20:41 +01:00
.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 x86/vdso: Remove now superfluous sentinel element from ctl_table array 2023-10-10 15:22:02 -07:00
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 x86/vdso: Include vdso/processor.h 2023-05-18 11:56:18 -07:00
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 x86/headers: Remove unnecessary #include <asm/export.h> 2023-10-03 10:38:07 +02:00