On 5/10/21 7:52 AM, Jarkko Sakkinen wrote: > +This can lead to reserving a large region than required by the payload, > +but the address space can be obviously trimmed after the enclave has been > +constructed on, > +with a sequence of > +.BR mmap(MAP_FIXED) > +calls. Sorry if I missed this previously. But, do we really intend to suggest the use of mmap(MAP_FIXED) for this? What's the harm in leaving a non-populated piece of address space of mmap()'d /dev/sgx_enclave?