mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 08:45:26 -05:00
All architectures which want to implement getrandom() in the vDSO need to use the generic vDSO library. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-11-d9b65750e49f@linutronix.de
28 lines
580 B
Plaintext
28 lines
580 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config HAVE_GENERIC_VDSO
|
|
bool
|
|
|
|
if HAVE_GENERIC_VDSO
|
|
|
|
config GENERIC_GETTIMEOFDAY
|
|
bool
|
|
help
|
|
This is a generic implementation of gettimeofday vdso.
|
|
Each architecture that enables this feature has to
|
|
provide the fallback implementation.
|
|
|
|
config GENERIC_VDSO_OVERFLOW_PROTECT
|
|
bool
|
|
help
|
|
Select to add multiplication overflow protection to the VDSO
|
|
time getter functions for the price of an extra conditional
|
|
in the hotpath.
|
|
|
|
config VDSO_GETRANDOM
|
|
bool
|
|
help
|
|
Selected by architectures that support vDSO getrandom().
|
|
|
|
endif
|