Re: [PATCH v3 4/5] x86/sgx: Allows ioctl PROVISION to execute before CREATE

2021-02-01 Thread Tianjia Zhang
On 1/30/21 9:26 PM, Jarkko Sakkinen wrote: On Sun, Jan 24, 2021 at 02:29:06PM +0800, Tianjia Zhang wrote: In the function sgx_create_enclave(), the direct assignment operation of attributes_mask determines that the ioctl PROVISION operation must be executed after the ioctl CREATE operation, w

Re: [PATCH v3 4/5] x86/sgx: Allows ioctl PROVISION to execute before CREATE

2021-01-30 Thread Jarkko Sakkinen
On Sun, Jan 24, 2021 at 02:29:06PM +0800, Tianjia Zhang wrote: > In the function sgx_create_enclave(), the direct assignment > operation of attributes_mask determines that the ioctl PROVISION > operation must be executed after the ioctl CREATE operation, > which will limit the flexibility of sgx de

[PATCH v3 4/5] x86/sgx: Allows ioctl PROVISION to execute before CREATE

2021-01-23 Thread Tianjia Zhang
In the function sgx_create_enclave(), the direct assignment operation of attributes_mask determines that the ioctl PROVISION operation must be executed after the ioctl CREATE operation, which will limit the flexibility of sgx developers. This patch takes the assignment of `attributes_mask` from th