diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2019-10-25 18:57:09 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-11-08 11:10:37 +0000 |
commit | c2820987047c08d813396b2b1d8ac2894ba0bd5f (patch) | |
tree | 998e67158043ae1471bd9e8212b369b21910a00c /virt | |
parent | 0fc89f08df8cf9878eb0a1a957f5948f831fbb8c (diff) | |
download | linux-c2820987047c08d813396b2b1d8ac2894ba0bd5f.tar.bz2 |
kselftest: arm64: mangle_pstate_invalid_mode_el[123][ht]
Add 6 simple mangle testcases that mess with the ucontext_t from within
the signal handler, trying to toggle PSTATE mode bits to trick the system
into switching to EL1/EL2/EL3 using both SP_EL0(t) and SP_ELx(h).
Expects SIGSEGV on test PASS.
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions