]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
KASAN: prohibit KASAN+STRUCTLEAK combination
authorDmitry Vyukov <dvyukov@google.com>
Fri, 11 May 2018 23:01:35 +0000 (16:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 May 2018 00:28:45 +0000 (17:28 -0700)
commitc9cf87ea6a4725bc586cc5776c3fb6042a264b7d
tree0421706f27a0e1f2364d204405be93ca32cea867
parent1d1c8e5f0d95c2c97f29122741aed7d0dfb2b391
KASAN: prohibit KASAN+STRUCTLEAK combination

Currently STRUCTLEAK inserts initialization out of live scope of variables
from KASAN point of view.  This leads to KASAN false positive reports.
Prohibit this combination for now.

Link: http://lkml.kernel.org/r/20180419172451.104700-1-dvyukov@google.com
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Dennis Zhou <dennisszhou@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/Kconfig