Kernel support for Intel SGX.
Project wiki:
https://wiki.freebsd.org/Intel_SGX
Differential D11113
Intel SGX driver br on Jun 9 2017, 3:01 PM. Authored by Tags None Referenced Files
Details
Kernel support for Intel SGX. Project wiki: I tested this in QEMU-SGX under linux with kvm-sgx and SMP support enabled. Also I tested this on Lenovo ThinkPad X1 Carbon 2017 (5th gen) with FreeBSD natively with SMP enabled. Test involves creating/removing 10-50 enclaves in parallel using sample application called LocalAttestation.
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes Comment Actions prevent repeated enclave creation for the same object: check if page was not inserted to object. Same for adding page ioctl Comment Actions I did mostly a cursory look over the new code. First, I admit that now it is much more understandable. But please see the question I asked inline in sgx_ioctl_create() which blocks my further understanding of the code.
Comment Actions
Comment Actions
Comment Actions
Comment Actions
Comment Actions Can you provide a comment at the start of the sgx.c giving a short overview of the design and specifically listing ofsets for all control structure pages inside the enclave vm object ? Also please explain locking, i.e. the name mtx is not very descriptive for the lock purpose.
Comment Actions
Comment Actions
Comment Actions
Comment Actions
Comment Actions
Comment Actions
|