Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

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

 



On Tue, Nov 27, 2018 at 07:46:48AM +0000, Jethro Beekman wrote:
> On 2018-11-27 03:21, Jarkko Sakkinen wrote:
> > BTW, off-topic from this but should we remove ENCLAVE from IOC names as
> > they all concern enclaves anyway? Seems kind of redundant. I.e.
> > 
> > SGX_IOC_ENCLAVE_CREATE -> SGX_IOC_CREATE
> > SGX_IOC_ENCLAVE_ADD_PAGE -> SGX_IOC_ADD_PAGE
> > SGX_IOC_ENCLAVE_INIT -> SGX_IOC_INIT
> 
> Future ioctls might be added that deal with system-global SGX things? Like
> an interface to communicate with the in-kernel LE or something.

Yea, maybe better to keep it just in case. The names are not too long
anyway. Then the new ioctl should be SGX_IOC_ENCLAVE_SET_ATTRIBUTE.

/Jarkko



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux