Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1377644

Re: [PATCH v1] mm, kasan: don't call kasan_krealloc() from ksize(). Add a ksize() test.

From Andrey Ryabinin <ryabinin.a.a@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1] mm, kasan: don't call kasan_krealloc() from ksize(). Add a ksize() test.
Date 2016-04-13 10:30 +0200
Message-ID <rnolt-6Jw-31@gated-at.bofh.it> (permalink)
References <rmNFf-X9-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-04-11 20:10 GMT+03:00 Alexander Potapenko <glider@google.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@google.com>
> ---

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v1] mm, kasan: don't call kasan_krealloc() from ksize(). Add a ksize() test. Alexander Potapenko <glider@google.com> - 2016-04-11 19:20 +0200
  Re: [PATCH v1] mm, kasan: don't call kasan_krealloc() from ksize().  Add a ksize() test. Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2016-04-13 10:30 +0200

csiph-web