xref: /linux/lib/vdso/Kconfig (revision bb5bc7bfab06b9a6a2ccecba6dc40783fe9b4231)
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
35config GENERIC_VDSO_DATA_STORE
36	bool
37	help
38	  Selected by architectures that use the generic vDSO data store.
39