[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPAsAGyWX78DfNCtC7K73nMd8D+-5Tx_UE3LtvjyTK6Xfn_V+Q@mail.gmail.com>
Date: Wed, 13 Apr 2016 11:20:39 +0300
From: Andrey Ryabinin <ryabinin.a.a@...il.com>
To: Alexander Potapenko <glider@...gle.com>
Cc: Andrey Konovalov <adech.fo@...il.com>,
Christoph Lameter <cl@...ux.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Kostya Serebryany <kcc@...gle.com>,
kasan-dev <kasan-dev@...glegroups.com>,
LKML <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: [PATCH v1] mm, kasan: don't call kasan_krealloc() from ksize().
Add a ksize() test.
2016-04-11 20:10 GMT+03:00 Alexander Potapenko <glider@...gle.com>:
> Instead of calling kasan_krealloc(), which replaces the memory allocation
> stack ID (if stack depot is used), just unpoison the whole memory chunk.
> Add a test that makes sure ksize() unpoisons the whole chunk.
>
Split in two please.
> Signed-off-by: Alexander Potapenko <glider@...gle.com>
> ---
Powered by blists - more mailing lists