]> git.baikalelectronics.ru Git - kernel.git/commit
mm, kasan: add a ksize() test
authorAlexander Potapenko <glider@google.com>
Fri, 20 May 2016 23:59:17 +0000 (16:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commitd71f3b035333352e10beba7a3ac8d3a5b13cec4a
tree9409e7589b867c2919d7dbcd277d5d5f3ae9a656
parent0d6a86ad87576ce21eabe8f0b2d4fcd8d1758b45
mm, kasan: add a ksize() test

Add a test that makes sure ksize() unpoisons the whole chunk.

Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Andrey Konovalov <adech.fo@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Konstantin Serebryany <kcc@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_kasan.c