]> git.baikalelectronics.ru Git - kernel.git/commit
x86/dumpstack: Prevent KASAN false positive warnings
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 17 Nov 2016 15:57:24 +0000 (09:57 -0600)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Nov 2016 08:38:00 +0000 (09:38 +0100)
commit34a27c0dd03bc017fbe0a827e55ed8606afbca47
tree93dce94703076bf2623f453a8569c5b620a05958
parentdd091228e8fc736151cb18e00f7c3d3b1194bd84
x86/dumpstack: Prevent KASAN false positive warnings

The oops stack dump code scans the entire stack, which can cause KASAN
"stack-out-of-bounds" false positive warnings.  Tell KASAN to ignore it.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: davej@codemonkey.org.uk
Cc: dvyukov@google.com
Link: http://lkml.kernel.org/r/5f6e80c4b0c7f7f0b6211900847a247cdaad753c.1479398226.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/dumpstack.c