Revision fb780761e7bd9f2e94f5b9a296ead6b35b944206 authored by Peter Zijlstra on 16 June 2021, 15:41:26 UTC, committed by Steven Rostedt (VMware) on 18 June 2021, 13:09:17 UTC
One should only use st_shndx when >SHN_UNDEF and <SHN_LORESERVE. When SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. Link: https://lore.kernel.org/lkml/20210607023839.26387-1-mark-pk.tsai@mediatek.com/ Link: https://lkml.kernel.org/r/20210616154126.2794-1-mark-pk.tsai@mediatek.com Reported-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Tested-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> [handle endianness of sym->st_shndx] Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent 3e08a9f
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 85 bytes |
Kconfig | -rw-r--r-- | 4.1 KB |
Makefile | -rw-r--r-- | 4.8 KB |
blacklist.c | -rw-r--r-- | 5.7 KB |
blacklist.h | -rw-r--r-- | 135 bytes |
blacklist_hashes.c | -rw-r--r-- | 166 bytes |
blacklist_nohashes.c | -rw-r--r-- | 122 bytes |
common.c | -rw-r--r-- | 1.2 KB |
common.h | -rw-r--r-- | 216 bytes |
revocation_certificates.S | -rw-r--r-- | 495 bytes |
system_certificates.S | -rw-r--r-- | 1.1 KB |
system_keyring.c | -rw-r--r-- | 8.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...