corda/psw/urts/linux
Sean Christopherson ed437b5ea1 Set misc_attr for failing _create_enclave flows
Set misc_attr in the top level sgx_create_enclave if _create_enclave
fails.  This provides the user with the platform's capabilities when
sgx_create_enclave fails for any reason other than a parameter error.

Previously the misc_attr was only set upon failure if build_image
failed, which was not helpful when sgx_create_enclave failed due to
an attribute error, e.g. misc_select, as the flow aborted before it
reached build_image.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
2016-09-20 10:45:59 -07:00
..
debugger_support.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
debugger_support.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
enclave_creator_hw.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
enter_enclave.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
enter_enclave.S Upgrade to Linux 1.6 gold release 2016-09-19 14:55:22 +08:00
get_thread_id.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
isgx_user.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
Makefile Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
misc.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
read_xcr0.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
sig_handler.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
sig_handler.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
urts_internal.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
urts.cpp Set misc_attr for failing _create_enclave flows 2016-09-20 10:45:59 -07:00