summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalesh Singh <kaleshsingh@google.com>2024-04-30 13:42:47 -0700
committermdb:android-git <superproject-auto-update@invalid>2024-05-03 16:32:47 +0000
commit00c64ace22fe1721a5abeeda1793a626ff0fa019 (patch)
tree7f6ff36e89b5c09c12abee0bec7a358d19beabd7
parent83599d7529950c081a34ea0902a58062c325e878 (diff)
downloadsuperproject-00c64ace22fe1721a5abeeda1793a626ff0fa019.tar.gz
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>
m---------common11-5.40
1 files changed, 0 insertions, 0 deletions
diff --git a/common11-5.4 b/common11-5.4
-Subproject a563a5f035dfd59989ab358aeb67c2fe8223e76
+Subproject f952d4f3c8ef60c93566792929fc1f598af30a8