xref: /linux/lib/vdso/Kconfig (revision 5e0ec8e46d4d6488242bb39a4ce5c0276afa5f32)
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_OVERFLOW_PROTECT
16	bool
17	help
18	  Select to add multiplication overflow protection to the VDSO
19	  time getter functions for the price of an extra conditional
20	  in the hotpath.
21
22config VDSO_GETRANDOM
23	bool
24	help
25	  Selected by architectures that support vDSO getrandom().
26
27endif
28