Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

What's the relationship among Enclave , thread and process?

Rui_Y_
Beginner
818 Views

What's the relationship among Enclave , thread and process?

Does SGX support multi-thread or multi-process?

What will happen if I call the "fork" to create a new process inside a enclave? 

0 Kudos
2 Replies
Hoang_N_Intel
Employee
818 Views

Creating a new process inside the Enclave is not allowed. For multiple threads running inside the Enclave, you need to follow the "Thread Binding Policy" which has two modes: non-binding and binding. Please refer to section of "Thread Binding Policy" in the SGX Developer Guide at https://software.intel.com/sites/default/files/managed/33/70/intel-sgx-developer-guide.pdf

0 Kudos
Juan_d_Intel
Employee
818 Views

and the enclave is allocated within the virtual address space of the process that calls sgx_create_enclave.

0 Kudos
Reply