# Re: \[RFC PATCH 3/9\] x86/sgx: Allow userspace to add multiple pages in single ioctl()

- From: Dave Hansen \<hidden\>
- Date: 2019-06-03 22:02:26 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2019/06/5616763
- Thread: https://ratatoskr.run/linux-security-module/2019/05/5614739/t.md

```text
On 6/3/19 1:37 PM, Sean Christopherson wrote:
> Heh, fair enough.  IIRC, a while back someone posted about having problems
> building a 512gb enclave in a 92mb EPC...
> 
> How about this for the intermediate patch:
> 
> 	struct sgx_enclave_add_region {
> 		__u64	addr;
> 		__u64	src;
> 		__u64	size;
> 		__u64	secinfo;
> 		__u16	mrmask;
> 		__u16	reserved16;
> 		__u32	reserved;
> 	}

Looks fine to me.
```
