Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1310 Discussions

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

Rui_Y_
Beginner
424 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
424 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

Juan_d_Intel
Employee
424 Views

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

Reply