Revision 1402fd8ed7e5bda1b3e7613b70780b0db392d1e6 authored by Josh Poimboeuf on 28 February 2018, 13:19:21 UTC, committed by Thomas Gleixner on 28 February 2018, 15:03:19 UTC
Continue the switch table detection whack-a-mole.  Add a check to
distinguish KASAN data reads from switch data reads.  The switch jump
tables in .rodata have relocations associated with them.

This fixes the following warning:

  crypto/asymmetric_keys/x509_cert_parser.o: warning: objtool: x509_note_pkey_algo()+0xa4: sibling call from callable instruction with modified stack frame

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/d7c8853022ad47d158cb81e953a40469fc08a95e.1519784382.git.jpoimboe@redhat.com

1 parent 71c208d
History
File Mode Size
Kconfig -rw-r--r-- 9.6 KB
Makefile -rw-r--r-- 737 bytes
acorn.c -rw-r--r-- 12.3 KB
acorn.h -rw-r--r-- 527 bytes
aix.c -rw-r--r-- 6.3 KB
aix.h -rw-r--r-- 59 bytes
amiga.c -rw-r--r-- 3.7 KB
amiga.h -rw-r--r-- 89 bytes
atari.c -rw-r--r-- 4.1 KB
atari.h -rw-r--r-- 1.1 KB
check.c -rw-r--r-- 4.2 KB
check.h -rw-r--r-- 1.2 KB
cmdline.c -rw-r--r-- 2.3 KB
cmdline.h -rw-r--r-- 96 bytes
efi.c -rw-r--r-- 22.9 KB
efi.h -rw-r--r-- 4.4 KB
ibm.c -rw-r--r-- 9.4 KB
ibm.h -rw-r--r-- 47 bytes
karma.c -rw-r--r-- 1.1 KB
karma.h -rw-r--r-- 124 bytes
ldm.c -rw-r--r-- 42.8 KB
ldm.h -rw-r--r-- 5.4 KB
mac.c -rw-r--r-- 3.6 KB
mac.h -rw-r--r-- 1.3 KB
msdos.c -rw-r--r-- 16.0 KB
msdos.h -rw-r--r-- 124 bytes
osf.c -rw-r--r-- 1.9 KB
osf.h -rw-r--r-- 123 bytes
sgi.c -rw-r--r-- 2.3 KB
sgi.h -rw-r--r-- 128 bytes
sun.c -rw-r--r-- 3.8 KB
sun.h -rw-r--r-- 169 bytes
sysv68.c -rw-r--r-- 1.9 KB
sysv68.h -rw-r--r-- 62 bytes
ultrix.c -rw-r--r-- 1.2 KB
ultrix.h -rw-r--r-- 90 bytes

back to top