100b26474SVincenzo Frascino# SPDX-License-Identifier: GPL-2.0 200b26474SVincenzo Frascino 3*ecacc9c8SThomas Weißschuhconfig VDSO_DATASTORE 400b26474SVincenzo Frascino bool 500b26474SVincenzo Frascino 600b26474SVincenzo Frascinoconfig GENERIC_GETTIMEOFDAY 700b26474SVincenzo Frascino bool 8*ecacc9c8SThomas Weißschuh select VDSO_DATASTORE 900b26474SVincenzo Frascino help 1000b26474SVincenzo Frascino This is a generic implementation of gettimeofday vdso. 1100b26474SVincenzo Frascino Each architecture that enables this feature has to 1200b26474SVincenzo Frascino provide the fallback implementation. 1300b26474SVincenzo Frascino 140c68458bSAdrian Hunterconfig GENERIC_VDSO_OVERFLOW_PROTECT 150c68458bSAdrian Hunter bool 160c68458bSAdrian Hunter help 170c68458bSAdrian Hunter Select to add multiplication overflow protection to the VDSO 180c68458bSAdrian Hunter time getter functions for the price of an extra conditional 190c68458bSAdrian Hunter in the hotpath. 200c68458bSAdrian Hunter 214ad10a5fSJason A. Donenfeldconfig VDSO_GETRANDOM 224ad10a5fSJason A. Donenfeld bool 23*ecacc9c8SThomas Weißschuh select VDSO_DATASTORE 244ad10a5fSJason A. Donenfeld help 254ad10a5fSJason A. Donenfeld Selected by architectures that support vDSO getrandom(). 26