Re: [PATCH v18 10/25] x86/sgx: Add ENCLS architectural error codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 24, 2018 at 05:17:16AM +0000, Jethro Beekman wrote:
> On 2018-12-22 04:41, Jarkko Sakkinen wrote> +#ifndef
> _UAPI_ASM_X86_SGX_ERRNO_H
> >+#define _UAPI_ASM_X86_SGX_ERRNO_H
> >+
> >+/**
> >+ * enum sgx_encls_leaves - return codes for ENCLS, ENCLU and ENCLV
> >+ * %SGX_SUCCESS:		No error.
> >+ * %SGX_INVALID_SIG_STRUCT:	SIGSTRUCT contains an invalid value.
> >+ * %SGX_INVALID_ATTRIBUTE:	Enclave is not attempting to access a resource
> >+ *				for which it is not authorized.
> >+ * %SGX_BLKSTATE:		EPC page is already blocked.
> 
> Is it BLSTATE (SDM §40.1.4) or BLKSTATE (SDM §40.3)?

BLKSTATE, I'll file an SDM bug.



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux