aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRam Pai <[email protected]>2018-07-17 06:51:07 -0700
committerMichael Ellerman <[email protected]>2018-07-24 21:38:42 +1000
commita4fcc877d4e18b5efe26e93f08f0cfd4e278c7d9 (patch)
tree26a7dbbf9d806368d47253802cc67b001720ccfd /tools/perf/scripts/python
parentfe6a2804e65969a574377bdb3605afb79e6091a9 (diff)
powerpc/pkeys: Preallocate execute-only key
execute-only key is allocated dynamically. This is a problem. When a thread implicitly creates an execute-only key, and resets the UAMOR for that key, the UAMOR value does not percolate to all the other threads. Any other thread may ignorantly change the permissions on the key. This can cause the key to be not execute-only for that thread. Preallocate the execute-only key and ensure that no thread can change the permission of the key, by resetting the corresponding bit in UAMOR. Fixes: 5586cf61e108 ("powerpc: introduce execute-only pkey") Cc: [email protected] # v4.16+ Signed-off-by: Ram Pai <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions