master branch updated
The master branch has been updated.
Changelog to v22:
* Return -EIO instead of -ECANCELED when ptrace() fails to read a TCS page.
* In the reclaimer, pin the page before ENCLS[EBLOCK] because pinning can fail (because of OOM) even in legit behaviour and after EBLOCK the reclaiming flow can be only reverted by killing the whole enclave.
/Jarkko
Quoted 8 lines · Jarkko Sakkinen
The master branch has been updated.
Changelog to v22:
* Return
-EIOinstead of-ECANCELEDwhenptrace()fails to read a TCS page.
* In the reclaimer, pin the page before ENCLS[EBLOCK] because pinning can fail (because of OOM) even in legit behaviour and after EBLOCK the reclaiming flow can be only reverted by killing the whole enclave.
I have one update to make sgx_alloc_page() and then my code changes for v23 are done.
/Jarkko
Quoted 5 lines · Jarkko Sakkinen
Quoted 4 lines · Jarkko Sakkinen
The master branch has been updated.
Changelog to v22:
Quoted 7 lines
Quoted 4 lines
* Return
-EIOinstead of-ECANCELEDwhenptrace()fails to read a TCS page.
* In the reclaimer, pin the page before ENCLS[EBLOCK] because pinning can fail (because of OOM) even in legit behaviour and after EBLOCK the reclaiming flow can be only reverted by killing the whole enclave.I have one update to make
sgx_alloc_page()and then my code changes for v23 are done.
That's not all actually. I also update the selftest so that it fills memory enough to trigger the reclaimer.
/Jarkko