Re: [PATCH v4 07/12] intel_sgx: driver for Intel Software Guard Extensions

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

 



On Mon, Oct 16, 2017 at 10:18:50PM +0300, Jarkko Sakkinen wrote:
> +int sgx_encl_create(struct sgx_secs *secs)
> +{
> +	struct sgx_pageinfo pginfo;
> +	struct sgx_secinfo secinfo;
> +	struct sgx_encl *encl;
> +	struct sgx_epc_page *secs_epc;
> +	struct vm_area_struct *vma;
> +	void *secs_vaddr;
> +	long ret;
> +
> +	encl = sgx_encl_alloc(secs);
> +	if (IS_ERR(secs))
> +		return PTR_ERR(encl);

if (IS_ERR(encl))

/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