Re: [PATCH v9 21/44] kasan: kasan_non_canonical_hook only for software modes

2020-11-12 Thread Andrey Konovalov
On Thu, Nov 12, 2020 at 4:16 PM Alexander Potapenko wrote: > > On Wed, Nov 11, 2020 at 7:52 PM 'Andrey Konovalov' via kasan-dev > wrote: > > > > On Wed, Nov 11, 2020 at 4:09 PM Alexander Potapenko > > wrote: > > > > > > On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov > > > wrote: > > > > >

Re: [PATCH v9 21/44] kasan: kasan_non_canonical_hook only for software modes

2020-11-12 Thread Alexander Potapenko
On Wed, Nov 11, 2020 at 7:52 PM 'Andrey Konovalov' via kasan-dev wrote: > > On Wed, Nov 11, 2020 at 4:09 PM Alexander Potapenko wrote: > > > > On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov > > wrote: > > > > > > This is a preparatory commit for the upcoming addition of a new hardware > > >

Re: [PATCH v9 21/44] kasan: kasan_non_canonical_hook only for software modes

2020-11-11 Thread Andrey Konovalov
On Wed, Nov 11, 2020 at 4:09 PM Alexander Potapenko wrote: > > On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov > wrote: > > > > This is a preparatory commit for the upcoming addition of a new hardware > > tag-based (MTE-based) KASAN mode. > > > > kasan_non_canonical_hook() is only applicable

Re: [PATCH v9 21/44] kasan: kasan_non_canonical_hook only for software modes

2020-11-11 Thread Alexander Potapenko
On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov wrote: > > This is a preparatory commit for the upcoming addition of a new hardware > tag-based (MTE-based) KASAN mode. > > kasan_non_canonical_hook() is only applicable to KASAN modes that use > shadow memory, and won't be needed for hardware

[PATCH v9 21/44] kasan: kasan_non_canonical_hook only for software modes

2020-11-10 Thread Andrey Konovalov
This is a preparatory commit for the upcoming addition of a new hardware tag-based (MTE-based) KASAN mode. kasan_non_canonical_hook() is only applicable to KASAN modes that use shadow memory, and won't be needed for hardware tag-based KASAN. No functional changes for software modes.