Re: [PATCH] kasan: turn off -fsanitize-address-use-after-scope for now

2016-11-24 Thread Dmitry Vyukov
On Wed, Nov 23, 2016 at 7:49 PM, Andrew Morton wrote: > On Wed, 23 Nov 2016 10:33:41 +0100 Dmitry Vyukov wrote: > >> On Wed, Nov 23, 2016 at 9:46 AM, Arnd Bergmann wrote: >> > On Wednesday, November 23, 2016 11:25:49 AM CET Andrey Ryabinin wrote: >> >> >> >> We have implementation for this featu

Re: [PATCH] kasan: turn off -fsanitize-address-use-after-scope for now

2016-11-23 Thread Andrew Morton
On Wed, 23 Nov 2016 10:33:41 +0100 Dmitry Vyukov wrote: > On Wed, Nov 23, 2016 at 9:46 AM, Arnd Bergmann wrote: > > On Wednesday, November 23, 2016 11:25:49 AM CET Andrey Ryabinin wrote: > >> > >> We have implementation for this feature: > >> "[PATCH] kasan: support use-after-scope detec

Re: [PATCH] kasan: turn off -fsanitize-address-use-after-scope for now

2016-11-23 Thread Dmitry Vyukov
On Wed, Nov 23, 2016 at 9:46 AM, Arnd Bergmann wrote: > On Wednesday, November 23, 2016 11:25:49 AM CET Andrey Ryabinin wrote: >> >> We have implementation for this feature: >> "[PATCH] kasan: support use-after-scope detection" - >> http://lkml.kernel.org/r/<1479226045-145148-1-git-send-e

Re: [PATCH] kasan: turn off -fsanitize-address-use-after-scope for now

2016-11-23 Thread Arnd Bergmann
On Wednesday, November 23, 2016 11:25:49 AM CET Andrey Ryabinin wrote: > > We have implementation for this feature: > "[PATCH] kasan: support use-after-scope detection" - > http://lkml.kernel.org/r/<1479226045-145148-1-git-send-email-dvyu...@google.com> > and given how simple it is I'd su

Re: [PATCH] kasan: turn off -fsanitize-address-use-after-scope for now

2016-11-23 Thread Andrey Ryabinin
On 11/23/2016 01:54 AM, Arnd Bergmann wrote: > In the upcoming gcc-7 release, the -fsanitize=kernel-address option > implies -fsanitize-address-use-after-scope, which relies on the > definition of two global functions, causing many link errors if they > are not defined, e.g: > > arch/x86/built-i