xref: /linux/lib/vdso/Kconfig (revision e9eb52037a529fbb307c290e9951a62dd728b03d)
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