Skip to content
Commit d4be85d0 authored by Kees Cook's avatar Kees Cook
Browse files

sparc: vdso: Disable UBSAN instrumentation



The UBSAN instrumentation cannot work in the vDSO since it is executing
in userspace, so disable it in the Makefile. Fixes the build failures
such as:

arch/sparc/vdso/vclock_gettime.c:217: undefined reference to `__ubsan_handle_shift_out_of_bounds'

Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://lore.kernel.org/all/20240224073617.GA2959352@ravnborg.org


Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 57914905
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment