xref: /linux/lib/vdso/Kconfig (revision f4cdf7ca9a1fdcca413157df19753f388a5a224e)
1# SPDX-License-Identifier: GPL-2.0
2
3config VDSO_DATASTORE
4	bool
5
6config GENERIC_GETTIMEOFDAY
7	bool
8	select VDSO_DATASTORE
9	help
10	  This is a generic implementation of gettimeofday vdso.
11	  Each architecture that enables this feature has to
12	  provide the fallback implementation.
13
14config GENERIC_VDSO_OVERFLOW_PROTECT
15	bool
16	help
17	  Select to add multiplication overflow protection to the VDSO
18	  time getter functions for the price of an extra conditional
19	  in the hotpath.
20
21config VDSO_GETRANDOM
22	bool
23	select VDSO_DATASTORE
24	help
25	  Selected by architectures that support vDSO getrandom().
26