Skip to content
Snippets Groups Projects
Commit c5fa7ec2 authored by Stijn Tintel's avatar Stijn Tintel
Browse files

kernel: add missing UBSAN config symbols


Enabling KERNEL_UBSAN exposes several missing symbols. Add new kernel
build options for UBSAN_BOUNDS and UBSAN_TRAP, disable CONFIG_TEST_UBSAN
in the generic kernel configs and enable CONFIG_UBSAN_MISC in generic
5.10 config. The latter symbol was removed in later kernels, as it was
causing some issues, so just disable it in 5.10 instead of adding a
build option for it.

Fixes build failures with KERNEL_UBSAN enabled.

Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
Acked-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent ec68c75c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment