On Tue, Aug 14, 2018 at 1:56 PM Arnd Bergmann <arnd@xxxxxxxx> wrote: > I'm missing the background on what you are trying to do here. Sorry, comments https://android-review.googlesource.com/c/kernel/common/+/725213 have more context. > Do you actually > want to use the -fsanitize-address-use-after-scope feature that got added > later, or do you just need the -fno-builtin option? In the latter case, I think > the easiest solution would be to do a manual backport of 0e410e158e5b > by itself, adjusting for context, and describing what you have done in the > changelog. Thanks for the recommendation, I was definitely over thinking this. Sent: https://www.spinics.net/lists/stable/msg251682.html: [PATCH 4.9] kasan: don't emit builtin calls when sanitization is off https://www.spinics.net/lists/stable/msg251683.html: [PATCH 4.4] kasan: don't emit builtin calls when sanitization is off -- Thanks, ~Nick Desaulniers