Re: RFC: userspace exception fixups

From: Dave Hansen
Date: Tue Nov 06 2018 - 13:41:11 EST


On 11/6/18 10:20 AM, Andy Lutomirski wrote:
> I almost feel like the right solution is to call into SGX on its own
> private stack or maybe even its own private address space.

Yeah, I had the same gut feeling. Couldn't the debugger even treat the
enclave like its own "thread" with its own stack and its own set of
registers and context? That seems like a much more workable model than
trying to weave it together with the EENTER context.