diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-06-24 14:50:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-06-24 17:23:52 -0700 |
commit | 5c335fe020ea287b2b49cc4dfca9f6756b88bb71 (patch) | |
tree | 06c106d7e217f9b2ae6c5e76ae9d636555f13f1e /lib | |
parent | c8cc708a340cc7c5445565079fd4d1c28898d7a2 (diff) | |
download | linux-5c335fe020ea287b2b49cc4dfca9f6756b88bb71.tar.bz2 |
mm: prevent KASAN false positives in kmemleak
When kmemleak dumps contents of leaked objects it reads whole objects
regardless of user-requested size. This upsets KASAN. Disable KASAN
checks around object dump.
Link: http://lkml.kernel.org/r/1466617631-68387-1-git-send-email-dvyukov@google.com
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions