Re: [PATCH RESEND 0/3] x86/sgx: eextend ioctl
From: Dave Hansen
Date: Thu Apr 01 2021 - 13:51:54 EST
On 4/1/21 7:56 AM, Raoul Strackx wrote:
>
> SOLUTION OF THIS PATCH
> This patch adds a new ioctl to enable userspace to execute EEXTEND leaf
> functions per 256 bytes of enclave memory. This enables enclaves to be
> build as specified by enclave providers.
I think tying the user ABI to the SGX architecture this closely is a
mistake.
Do we need another ioctl() or can we just relax the existing add_pages
ioctl() to allow unaligned addresses?