aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorSebastian Ene <[email protected]>2024-09-09 12:47:20 +0000
committerMarc Zyngier <[email protected]>2024-09-10 21:32:51 +0100
commit79c4c7284f92d5e780c8532c343ca2cacfaf5125 (patch)
tree9228125477894769c1e07c42590bc04ff8844fb5 /tools/testing/selftests/bpf/progs/test_autoload.c
parent9182301a7bd2564fb050ade9820333c8b1adfcc2 (diff)
arm64: ptdump: Don't override the level when operating on the stage-2 tables
Ptdump uses the init_mm structure directly to dump the kernel pagetables. When ptdump is called on the stage-2 pagetables, this mm argument is not used. Prevent the level from being overwritten by checking the argument against NULL. Signed-off-by: Sebastian Ene <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions