aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <alexandre.ghiti@canonical.com>2021-10-29 06:59:27 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-10-29 08:54:50 -0700
commit54c5639d8f507ebefa814f574cb6f763033a72a5 (patch)
treeac9ba5ba08a776edb2f16e7482d6fb35d1fe4e06 /lib/test_fortify/write_overflow-strncpy.c
parentcf11d01135ea1ff7fddb612033e3cb5cde279ff2 (diff)
riscv: Fix asan-stack clang build
Nathan reported that because KASAN_SHADOW_OFFSET was not defined in Kconfig, it prevents asan-stack from getting disabled with clang even when CONFIG_KASAN_STACK is disabled: fix this by defining the corresponding config. Reported-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com> Fixes: 8ad8b72721d0 ("riscv: Add KASAN support") Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions