Re: [PATCH v33 03/21] x86/mm: x86/sgx: Signal SIGSEGV with PF_SGX

From: Jarkko Sakkinen
Date: Fri Jun 26 2020 - 09:34:31 EST


On Thu, Jun 25, 2020 at 11:11:03PM +0200, Borislav Petkov wrote:
> On Thu, Jun 25, 2020 at 11:52:11PM +0300, Jarkko Sakkinen wrote:
> > I ended up with:
> >
> > * bit 5 == 1: protection keys block access
> > * bit 6 == 1: inside SGX enclave
>
> You mean bit 15.

Duh, did this last thing before falling into sleep last night :-/

Yes, it should be 15.

I'll also rephrase the text to "inside an SGX enclave".

/Jarkko