Skip to contentSkip to conversation

master branch updated

DISCUSSION Jarkko Sakkinen 1 participant 3 messages Sep 25, 2019 Intel SGX

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · Jarkko Sakkinen

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.

I have one update to make sgx_alloc_page() and then my code changes for v23 are done.

/Jarkko

#2 lore raw
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 -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.

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