Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)
From: Jarkko Sakkinen <hidden>
Date: 2019-05-20 11:36:50
Also in:
lkml, selinux
From: Jarkko Sakkinen <hidden>
Date: 2019-05-20 11:36:50
Also in:
lkml, selinux
On Thu, May 16, 2019 at 05:03:31PM -0700, Sean Christopherson wrote:
The SGX ioctl() would need to take mmap_sem for write, but we can mitigate that issue by changing the ioctl() to take a range of memory instead of a single page. That'd also provide "EADD batching" that folks have requested.
This should be easy enough to add as the EADD operations are already batched internally to a worker thread. /Jarkko