I would also be interested in this. I found this passage in the
documentation:
Enclave exits, on the other hand, are
implicit—they either happen automatically when an enclave entry finishes its
work, or they happen when an enclave requests services from the operating
system.
Are these the only two ways to exist an enclave? Or is there a way to request services from the untrusted part of the program?
Thanks
Arne