| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | config VDSO_DATASTORE |
| 4 | bool |
| 5 | |
| 6 | config 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 | |
| 14 | config 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 | |
| 21 | config VDSO_GETRANDOM |
| 22 | bool |
| 23 | select VDSO_DATASTORE |
| 24 | help |
| 25 | Selected by architectures that support vDSO getrandom(). |