diff options
author | Ilya Leoshkevich <[email protected]> | 2023-07-25 16:37:20 +0200 |
---|---|---|
committer | Janosch Frank <[email protected]> | 2023-08-28 09:24:20 +0000 |
commit | fdbeb55ebdf1d83e610303f7e5c50a4d6904b7fa (patch) | |
tree | dff6e94a95db57c8a4ec968c9c4429e8bb6a6fac /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 1ad1fa820e6424ae75d3d9f59774e40c9c7ec1e5 (diff) |
KVM: s390: interrupt: Fix single-stepping keyless mode exits
kvm_s390_skey_check_enable() does not emulate any instructions, rather,
it clears CPUSTAT_KSS and arranges the instruction that caused the exit
(e.g., ISKE, SSKE, RRBE or LPSWE with a keyed PSW) to run again.
Therefore, skip the PER check and let the instruction execution happen.
Otherwise, a debugger will see two single-step events on the same
instruction.
Reviewed-by: Christian Borntraeger <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Ilya Leoshkevich <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Claudio Imbrenda <[email protected]>
Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions