aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAneesh Kumar K.V <[email protected]>2020-11-27 10:14:17 +0530
committerMichael Ellerman <[email protected]>2020-12-04 01:01:26 +1100
commit4d6c551e9f548f7675a01eff229d09ab41162a25 (patch)
tree401c9a20fe6ea4335b9c9dfbecd2faf12dc3b838 /tools/perf/scripts/python
parent48a8ab4eeb8271f2a0e2ca3cf80844a59acca153 (diff)
powerpc/book3s64/kuap: Restrict access to userspace based on userspace AMR
If an application has configured address protection such that read/write is denied using pkey even the kernel should receive a FAULT on accessing the same. This patch use user AMR value stored in pt_regs.amr to achieve the same. Signed-off-by: Aneesh Kumar K.V <[email protected]> Reviewed-by: Sandipan Das <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions