On Fri, Aug 16, 2019 at 03:36:11PM +0000, Jethro Beekman wrote: > On 2019-08-16 06:55, Jarkko Sakkinen wrote: > > Requirement is too way strong vocabulary here. Whether it should be required > > or there should fast and slow paths is debatable. > > After userspace has gone through all the trouble to map an enclave using the > new API, aligning the input to this ioctl seems like a minor inconvenience. You might in some cases mmap() less than the ELRANGE for legit reasons. It is not really a question of convenience but rather just taking advantage of robustness brought by the loose binding to the VMA. /Jarkko