do_ri and EPC adjustment
Sorry if this has already been discussed, but why does do_ri() adjust the EPC in compute_return_epc() before delivering the SIGILL to a user process?
Kip
Quoted 3 lines · Kip Walker
Sorry if this has already been discussed, but why does
do_ri()adjust the EPC incompute_return_epc()before delivering the SIGILL to a user process?
The original reason was to avoid having knowledge weather to skip over an instruction or not from the signal return path. For various reasons this seems a wrong decission.
Ralf