lkml.org 
[lkml]   [2017]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2017-10-22 17:15    [W:3.128 / U:0.416 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site