On Fri, 2021-10-01 at 09:47 -0700, Tony Luck wrote: > Provide a recovery function sgx_memory_failure(). If the poison was > consumed synchronously then send a SIGBUS. Note that the virtual > address of the access is not included with the SIGBUS as is the case > for poison outside of SGX enclaves. This doesn't matter as addresses > of code/data inside an enclave is of little to no use to code executing > outside the (now dead) enclave. > > Poison found in a free page results in the page being moved from the > free list to the poison page list. > > Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx> Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx> /Jarkko