linux-sgx.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* master branch updated
@ 2019-09-25  1:07 Jarkko Sakkinen
  2019-09-25  1:08 ` Jarkko Sakkinen
  0 siblings, 1 reply; 3+ messages in thread
From: Jarkko Sakkinen @ 2019-09-25  1:07 UTC (permalink / raw)
  To: linux-sgx; +Cc: sean.j.christopherson, serge.ayoun, shay.katz-zamir

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master branch updated
  2019-09-25  1:07 master branch updated Jarkko Sakkinen
@ 2019-09-25  1:08 ` Jarkko Sakkinen
  2019-09-25  1:40   ` Jarkko Sakkinen
  0 siblings, 1 reply; 3+ messages in thread
From: Jarkko Sakkinen @ 2019-09-25  1:08 UTC (permalink / raw)
  To: linux-sgx; +Cc: sean.j.christopherson, serge.ayoun, shay.katz-zamir

On Wed, Sep 25, 2019 at 04:07:15AM +0300, Jarkko Sakkinen wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master branch updated
  2019-09-25  1:08 ` Jarkko Sakkinen
@ 2019-09-25  1:40   ` Jarkko Sakkinen
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Sakkinen @ 2019-09-25  1:40 UTC (permalink / raw)
  To: linux-sgx; +Cc: sean.j.christopherson, serge.ayoun, shay.katz-zamir

On Wed, Sep 25, 2019 at 04:08:18AM +0300, Jarkko Sakkinen wrote:
> On Wed, Sep 25, 2019 at 04:07:15AM +0300, Jarkko Sakkinen wrote:
> > 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.

That's not all actually. I also update the selftest so that it fills
memory enough to trigger the reclaimer.

/Jarkko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-25  1:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-25  1:07 master branch updated Jarkko Sakkinen
2019-09-25  1:08 ` Jarkko Sakkinen
2019-09-25  1:40   ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).