diff options
| author | Benjamin Gray <[email protected]> | 2023-06-19 17:36:26 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-06-19 17:36:26 +1000 |
| commit | be98fcf7c10dea74e9c3e2cd0018e47bdee67442 (patch) | |
| tree | 2536fca1dfd218dd60b68e8eb7b222e82e849f79 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5bcba4e6c13f0c889da1f9e67ee10accd9ca4c19 (diff) | |
powerpc/dexcr: Support userspace ROP protection
The ISA 3.1B hashst and hashchk instructions use a per-cpu SPR HASHKEYR
to hold a key used in the hash calculation. This key should be different
for each process to make it harder for a malicious process to recreate
valid hash values for a victim process.
Add support for storing a per-thread hash key, and setting/clearing
HASHKEYR appropriately.
Signed-off-by: Benjamin Gray <[email protected]>
Reviewed-by: Russell Currey <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions