Re: [PATCH v4 2/7] mm, kasan: SLAB support

2016-03-01 Thread Andrey Ryabinin
On 02/29/2016 09:28 PM, Alexander Potapenko wrote: >>> static void print_address_description(struct kasan_access_info *info) >>> { >>> const void *addr = info->access_addr; >>> @@ -126,17 +164,14 @@ static void print_address_description(struct >>> kasan_access_info *info) >>>

Re: [PATCH v4 2/7] mm, kasan: SLAB support

2016-02-29 Thread Alexander Potapenko
On Mon, Feb 29, 2016 at 7:28 PM, Alexander Potapenko wrote: > On Mon, Feb 29, 2016 at 4:10 PM, Andrey Ryabinin > wrote: >> >> >> On 02/26/2016 07:48 PM, Alexander Potapenko wrote: >>> Add KASAN hooks to SLAB allocator. >>> >>> This patch is based on the "mm: kasan: unified support for SLUB and >

Re: [PATCH v4 2/7] mm, kasan: SLAB support

2016-02-29 Thread Alexander Potapenko
On Mon, Feb 29, 2016 at 4:10 PM, Andrey Ryabinin wrote: > > > On 02/26/2016 07:48 PM, Alexander Potapenko wrote: >> Add KASAN hooks to SLAB allocator. >> >> This patch is based on the "mm: kasan: unified support for SLUB and >> SLAB allocators" patch originally prepared by Dmitry Chernenkov. >> >>

Re: [PATCH v4 2/7] mm, kasan: SLAB support

2016-02-29 Thread Andrey Ryabinin
On 02/26/2016 07:48 PM, Alexander Potapenko wrote: > Add KASAN hooks to SLAB allocator. > > This patch is based on the "mm: kasan: unified support for SLUB and > SLAB allocators" patch originally prepared by Dmitry Chernenkov. > > Signed-off-by: Alexander Potapenko > --- > v3: - minor descript

[PATCH v4 2/7] mm, kasan: SLAB support

2016-02-26 Thread Alexander Potapenko
Add KASAN hooks to SLAB allocator. This patch is based on the "mm: kasan: unified support for SLUB and SLAB allocators" patch originally prepared by Dmitry Chernenkov. Signed-off-by: Alexander Potapenko --- v3: - minor description changes - store deallocation info in kasan_slab_free() v4: -