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