Implement functionality to define a dynamic heap for the test enclave. Then, implement a new augmentation test for a large dynamic heap. 1/5 is critical for v6.0. More information in the patch change log. v2: * Use dynamic heap in tcs_create test. Haitao Huang (1): selftests/sgx: Retry the ioctl()'s returned with EAGAIN Jarkko Sakkinen (3): selftests/sgx: Move ENCL_HEAP_SIZE_DEFAULT to main.c selftests/sgx: Use encl->encl_size in sigstruct.c selftests/sgx: Include the dynamic heap size to the ELRANGE calculation Vijay Dhanraj (1): selftests/sgx: Add SGX selftest augment_via_eaccept_long tools/testing/selftests/sgx/load.c | 8 +- tools/testing/selftests/sgx/main.c | 177 +++++++++++++++++++++--- tools/testing/selftests/sgx/main.h | 6 +- tools/testing/selftests/sgx/sigstruct.c | 8 +- 4 files changed, 170 insertions(+), 29 deletions(-) -- 2.37.2