lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171018152124.hxj6emfv3wageoop@linux.intel.com>
Date:   Wed, 18 Oct 2017 18:21:24 +0300
From:   Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To:     intel-sgx-kernel-dev@...ts.01.org
Cc:     platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 07/12] intel_sgx: driver for Intel Software Guard
 Extensions

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ