Re: [PATCH v20 16/28] x86/sgx: Add provisioning

2019-05-02 Thread Jarkko Sakkinen
On Wed, Apr 24, 2019 at 01:34:03AM +, Jethro Beekman wrote: > On 2019-04-17 03:39, Jarkko Sakkinen wrote: > > diff --git a/arch/x86/include/uapi/asm/sgx.h > > b/arch/x86/include/uapi/asm/sgx.h > > index 7bf627ac4958..3b80acde8671 100644 > > --- a/arch/x86/include/uapi/asm/sgx.h > > +++

Re: [PATCH v20 16/28] x86/sgx: Add provisioning

2019-04-23 Thread Jethro Beekman
On 2019-04-17 03:39, Jarkko Sakkinen wrote: diff --git a/arch/x86/include/uapi/asm/sgx.h b/arch/x86/include/uapi/asm/sgx.h index 7bf627ac4958..3b80acde8671 100644 --- a/arch/x86/include/uapi/asm/sgx.h +++ b/arch/x86/include/uapi/asm/sgx.h @@ -16,6 +16,8 @@ _IOW(SGX_MAGIC, 0x01, struct

Re: [PATCH v20 16/28] x86/sgx: Add provisioning

2019-04-23 Thread Jarkko Sakkinen
On Fri, Apr 19, 2019 at 03:06:48AM +, Huang, Kai wrote: > On Wed, 2019-04-17 at 13:39 +0300, Jarkko Sakkinen wrote: > > In order to provide a mechanism for devilering provisoning rights: > > > > 1. Add a new device file /dev/sgx/provision that works as a token for > >allowing an enclave

Re: [PATCH v20 16/28] x86/sgx: Add provisioning

2019-04-18 Thread Huang, Kai
On Wed, 2019-04-17 at 13:39 +0300, Jarkko Sakkinen wrote: > In order to provide a mechanism for devilering provisoning rights: > > 1. Add a new device file /dev/sgx/provision that works as a token for >allowing an enclave to have the provisioning privileges. > 2. Add a new ioctl called

[PATCH v20 16/28] x86/sgx: Add provisioning

2019-04-17 Thread Jarkko Sakkinen
In order to provide a mechanism for devilering provisoning rights: 1. Add a new device file /dev/sgx/provision that works as a token for allowing an enclave to have the provisioning privileges. 2. Add a new ioctl called SGX_IOC_ENCLAVE_SET_ATTRIBUTE that accepts the following data