Browse Source

Keep the eextend option.

Don Porter 6 years ago
parent
commit
49954c0491
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Pal/src/host/Linux-SGX/sgx_main.c

+ 1 - 1
Pal/src/host/Linux-SGX/sgx_main.c

@@ -467,7 +467,7 @@ int initialize_enclave (struct pal_enclave * enclave)
 add_pages:
         TRY(add_pages_to_enclave,
             &enclave_secs, (void *) areas[i].addr, data, areas[i].size,
-            areas[i].type, areas[i].prot, (areas[i].fd == -1),
+            areas[i].type, areas[i].prot, areas[i].skip_eextend,
             areas[i].desc);
 
         if (data)