Messages in this thread | | | From | Marco Elver <> | Date | Mon, 24 Jan 2022 18:59:40 +0100 | Subject | Re: [PATCH] kasan: test: fix compatibility with FORTIFY_SOURCE |
| |
On Mon, 24 Jan 2022 at 18:54, Andrey Konovalov <andreyknvl@gmail.com> wrote: > > -On Mon, Jan 24, 2022 at 5:07 PM Marco Elver <elver@google.com> wrote: > > > > With CONFIG_FORTIFY_SOURCE enabled, string functions will also perform > > dynamic checks using __builtin_object_size(ptr), which when failed will > > panic the kernel. > > > > Because the KASAN test deliberately performs out-of-bounds operations, > > the kernel panics with FORITY_SOURCE, for example: > > Nit: FORITY_SOURCE -> FORTIFY_SOURCE
How did that happen?! My hands need some better synchronization...
I'll refrain sending a v2, assuming Andrew can fix up this spelling mistake upon applying.
[...] > > Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Thanks!
| |