aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorAlexander Potapenko <[email protected]>2016-05-20 23:59:14 +0000
committerLinus Torvalds <[email protected]>2016-05-21 00:58:30 +0000
commit4ebb31a42ffa03912447fe1aabbdb28242f909ba (patch)
tree2c73f495865653dc8b6ab369194d1b06f193822f /lib/strncpy_from_user.c
parentmm: kasan: initial memory quarantine implementation (diff)
downloadkernel-4ebb31a42ffa03912447fe1aabbdb28242f909ba.tar.gz
kernel-4ebb31a42ffa03912447fe1aabbdb28242f909ba.zip
mm, kasan: don't call kasan_krealloc() from ksize().
Instead of calling kasan_krealloc(), which replaces the memory allocation stack ID (if stack depot is used), just unpoison the whole memory chunk. Signed-off-by: Alexander Potapenko <[email protected]> Acked-by: Andrey Ryabinin <[email protected]> Cc: Andrey Konovalov <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Konstantin Serebryany <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions