diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2021-11-03 19:38:50 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2021-11-07 17:38:01 +0200 |
commit | c5fa7ec2a6d97597cfcac8d21657026802ff01a2 (patch) | |
tree | 556b3dfe9f85432066be88574417e6fd062c7cfd /target/linux/archs38/Makefile | |
parent | ec68c75c629eed149ed4416d5300328deb53a417 (diff) | |
download | upstream-c5fa7ec2a6d97597cfcac8d21657026802ff01a2.tar.gz upstream-c5fa7ec2a6d97597cfcac8d21657026802ff01a2.tar.bz2 upstream-c5fa7ec2a6d97597cfcac8d21657026802ff01a2.zip |
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: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/archs38/Makefile')
0 files changed, 0 insertions, 0 deletions