1# SPDX-License-Identifier: GPL-2.0 2 3config VDSO_DATASTORE 4 bool 5 6config 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 14config 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 21config VDSO_GETRANDOM 22 bool 23 select VDSO_DATASTORE 24 help 25 Selected by architectures that support vDSO getrandom(). 26 27config VDSO_UNALIGNED_PACKED 28 bool 29 default !HAVE_EFFICIENT_UNALIGNED_ACCESS 30 help 31 Use packed structs rather than memcpy() in include/vdso/unaligned.h 32 for unaligned memory accesses. Enabled by default when the 33 architecture does not have efficient unaligned accesses, as GCC may 34 emit stack spills or out-of-line memcpy() calls instead of inlining 35 byte shifts. 36