aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2017-12-13 11:45:42 +0000
committerWill Deacon <[email protected]>2017-12-14 10:18:23 +0000
commit1d08a044cf12aee37dfd54837558e3295287b343 (patch)
tree3358dfba081ea3db3c807a7565bfb26ce836c95e /tools/perf/scripts/python/call-graph-from-sql.py
parentfaa75e147b583417273902552c61cf3250a44308 (diff)
arm64: fix CONFIG_DEBUG_WX address reporting
In ptdump_check_wx(), we pass walk_pgd() a start address of 0 (rather than VA_START) for the init_mm. This means that any reported W&X addresses are offset by VA_START, which is clearly wrong and can make them appear like userspace addresses. Fix this by telling the ptdump code that we're walking init_mm starting at VA_START. We don't need to update the addr_markers, since these are still valid bounds regardless. Cc: <[email protected]> Fixes: 1404d6f13e47 ("arm64: dump: Add checking for writable and exectuable pages") Signed-off-by: Mark Rutland <[email protected]> Cc: Kees Cook <[email protected]> Cc: Laura Abbott <[email protected]> Reported-by: Timur Tabi <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions