Re: [PATCH 4.9 09/62] kasan: turn on -fsanitize-address-use-after-scope

2019-05-06 Thread Greg Kroah-Hartman
On Mon, May 06, 2019 at 06:36:45PM +0300, Andrey Ryabinin wrote: > > > On 5/6/19 6:10 PM, Greg Kroah-Hartman wrote: > > On Mon, May 06, 2019 at 05:55:54PM +0300, Andrey Ryabinin wrote: > >> > >> > >> On 5/6/19 5:32 PM, Greg Kroah-Hartman wrote: > >>> From: Andrey Ryabinin > >>> > >>> commit

Re: [PATCH 4.9 09/62] kasan: turn on -fsanitize-address-use-after-scope

2019-05-06 Thread Andrey Ryabinin
On 5/6/19 6:10 PM, Greg Kroah-Hartman wrote: > On Mon, May 06, 2019 at 05:55:54PM +0300, Andrey Ryabinin wrote: >> >> >> On 5/6/19 5:32 PM, Greg Kroah-Hartman wrote: >>> From: Andrey Ryabinin >>> >>> commit c5caf21ab0cf884ef15b25af234f620e4a233139 upstream. >>> >>> In the upcoming gcc7

Re: [PATCH 4.9 09/62] kasan: turn on -fsanitize-address-use-after-scope

2019-05-06 Thread Greg Kroah-Hartman
On Mon, May 06, 2019 at 05:55:54PM +0300, Andrey Ryabinin wrote: > > > On 5/6/19 5:32 PM, Greg Kroah-Hartman wrote: > > From: Andrey Ryabinin > > > > commit c5caf21ab0cf884ef15b25af234f620e4a233139 upstream. > > > > In the upcoming gcc7 release, the -fsanitize=kernel-address option at > >

Re: [PATCH 4.9 09/62] kasan: turn on -fsanitize-address-use-after-scope

2019-05-06 Thread Andrey Ryabinin
On 5/6/19 5:32 PM, Greg Kroah-Hartman wrote: > From: Andrey Ryabinin > > commit c5caf21ab0cf884ef15b25af234f620e4a233139 upstream. > > In the upcoming gcc7 release, the -fsanitize=kernel-address option at > first implied new -fsanitize-address-use-after-scope option. This would > cause link

[PATCH 4.9 09/62] kasan: turn on -fsanitize-address-use-after-scope

2019-05-06 Thread Greg Kroah-Hartman
From: Andrey Ryabinin commit c5caf21ab0cf884ef15b25af234f620e4a233139 upstream. In the upcoming gcc7 release, the -fsanitize=kernel-address option at first implied new -fsanitize-address-use-after-scope option. This would cause link errors on older kernels because they don't have two new