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

From: Jarkko Sakkinen
Date: Tue Feb 02 2021 - 16:58:15 EST


On Mon, Feb 01, 2021 at 09:26:52PM +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 developers.

Please write acronyms correctly. It's not 'sgx'. It's 'SGX'.

Who are the "sgx developers" and how do they benefit from this?

/Jarkko