aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJiang Biao <[email protected]>2018-07-20 00:06:31 +0000
committerThomas Gleixner <[email protected]>2018-07-20 05:07:39 +0000
commitb2b7d986a89b6c94b1331a909de1217214fb08c1 (patch)
tree9cce6d8e6a0860e7476f3b57172ded3e8159826b /tools/perf/scripts/python/syscall-counts-by-pid.py
parentx86/entry/32: Add debug code to check entry/exit CR3 (diff)
downloadkernel-b2b7d986a89b6c94b1331a909de1217214fb08c1.tar.gz
kernel-b2b7d986a89b6c94b1331a909de1217214fb08c1.zip
x86/pti: Check the return value of pti_user_pagetable_walk_p4d()
pti_user_pagetable_walk_p4d() can return NULL, so the return value should be checked to prevent a NULL pointer dereference. Add the check and a warning when the P4D allocation fails. Signed-off-by: Jiang Biao <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions