android_kernel_msm-6.1_noth.../fs/proc
Kalesh Singh 1794308d46 ANDROID: 16K: Fix show maps CFI failure
If the kernel is built CONFIG_CFI_CLANG=y, reading smaps
may cause a panic. This is due to a failed CFI check; which
is triggered becuase the signature of the function pointer for
printing smaps padding VMAs does not match exactly with that
for show_smap().

Fix this by casting the function pointer to the expected type
based on whether printing maps or smaps padding.

Bug: 330117029
Bug: 327600007
Bug: 330767927
Bug: 328266487
Bug: 329803029
Change-Id: I65564a547dacbc4131f8557344c8c96e51f90cd5
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2024-05-02 22:14:25 +00:00
..
array.c
base.c Merge branch 'android14-6.1' into branch 'android14-6.1-lts' 2023-11-27 14:53:17 +00:00
bootconfig.c
cmdline.c
consoles.c
cpuinfo.c
devices.c
fd.c
fd.h
generic.c
inode.c
internal.h proc: nommu: fix empty /proc/<pid>/maps 2023-10-06 14:56:42 +02:00
interrupts.c
Kconfig
kcore.c
kmsg.c
loadavg.c
Makefile
meminfo.c ANDROID: vendor_hooks: add restricted vendor hook for meminfo 2024-04-11 00:56:49 +00:00
namespaces.c
nommu.c
page.c
proc_net.c
proc_sysctl.c watchdog: move softlockup_panic back to early_param 2023-11-28 17:07:09 +00:00
proc_tty.c
root.c
self.c
softirqs.c
stat.c
task_mmu.c ANDROID: 16K: Fix show maps CFI failure 2024-05-02 22:14:25 +00:00
task_nommu.c proc: nommu: fix empty /proc/<pid>/maps 2023-10-06 14:56:42 +02:00
thread_self.c
uptime.c
util.c
version.c
vmcore.c Merge 6.1.43 into android14-6.1-lts 2023-09-12 12:36:39 +00:00