mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
All architectures which want to implement getrandom() in the vDSO need to use the generic vDSO library. Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
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
|