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 |
---|---|---|
.kunitconfig | -rw-r--r-- | 58 bytes |
Kconfig | -rw-r--r-- | 4.0 KB |
Makefile | -rw-r--r-- | 703 bytes |
acl.c | -rw-r--r-- | 6.7 KB |
acl.h | -rw-r--r-- | 1.6 KB |
balloc.c | -rw-r--r-- | 26.9 KB |
bitmap.c | -rw-r--r-- | 2.7 KB |
block_validity.c | -rw-r--r-- | 9.3 KB |
dir.c | -rw-r--r-- | 17.5 KB |
ext4.h | -rw-r--r-- | 131.4 KB |
ext4_extents.h | -rw-r--r-- | 8.4 KB |
ext4_jbd2.c | -rw-r--r-- | 9.9 KB |
ext4_jbd2.h | -rw-r--r-- | 16.9 KB |
extents.c | -rw-r--r-- | 164.2 KB |
extents_status.c | -rw-r--r-- | 60.3 KB |
extents_status.h | -rw-r--r-- | 8.0 KB |
fast_commit.c | -rw-r--r-- | 61.4 KB |
fast_commit.h | -rw-r--r-- | 4.1 KB |
file.c | -rw-r--r-- | 23.9 KB |
fsmap.c | -rw-r--r-- | 19.8 KB |
fsmap.h | -rw-r--r-- | 2.0 KB |
fsync.c | -rw-r--r-- | 5.2 KB |
hash.c | -rw-r--r-- | 7.3 KB |
ialloc.c | -rw-r--r-- | 44.6 KB |
indirect.c | -rw-r--r-- | 42.6 KB |
inline.c | -rw-r--r-- | 48.4 KB |
inode-test.c | -rw-r--r-- | 7.5 KB |
inode.c | -rw-r--r-- | 178.2 KB |
ioctl.c | -rw-r--r-- | 32.3 KB |
mballoc.c | -rw-r--r-- | 180.4 KB |
mballoc.h | -rw-r--r-- | 5.9 KB |
migrate.c | -rw-r--r-- | 16.8 KB |
mmp.c | -rw-r--r-- | 10.0 KB |
move_extent.c | -rw-r--r-- | 20.8 KB |
namei.c | -rw-r--r-- | 114.0 KB |
page-io.c | -rw-r--r-- | 15.2 KB |
readpage.c | -rw-r--r-- | 11.3 KB |
resize.c | -rw-r--r-- | 60.6 KB |
super.c | -rw-r--r-- | 192.3 KB |
symlink.c | -rw-r--r-- | 1.7 KB |
sysfs.c | -rw-r--r-- | 16.4 KB |
truncate.h | -rw-r--r-- | 1.5 KB |
verity.c | -rw-r--r-- | 10.7 KB |
xattr.c | -rw-r--r-- | 82.1 KB |
xattr.h | -rw-r--r-- | 7.2 KB |
xattr_hurd.c | -rw-r--r-- | 1.3 KB |
xattr_security.c | -rw-r--r-- | 1.6 KB |
xattr_trusted.c | -rw-r--r-- | 1.2 KB |
xattr_user.c | -rw-r--r-- | 1.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...