[PATCH v2 4/9] arm64: vdso32: Respect COMPAT_32BIT_TIME
Philippe Mathieu-Daudé
philmd at oss.qualcomm.com
Wed Jul 1 00:49:16 PDT 2026
On 30/6/26 09:38, Thomas WeiÃschuh wrote:
> If CONFIG_COMPAT_32BIT_TIME is disabled then the vDSO should not
> provide any 32-bit time related functionality. This is the intended
> effect of the kconfig option and also the fallback system calls would
> also not be implemented.
>
> Currently the kconfig option does not affect the gettimeofday() syscall,
> so also keep that in the vDSO.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> ---
> arch/arm64/kernel/vdso32/vdso.lds.S | 2 ++
> arch/arm64/kernel/vdso32/vgettimeofday.c | 14 ++++++++------
> 2 files changed, 10 insertions(+), 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd at oss.qualcomm.com>
More information about the linux-arm-kernel
mailing list