Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for crash in sgx_ocall and exit enclave if enclave is crashed #151

Merged
merged 1 commit into from
Sep 5, 2017

Conversation

yuyuany
Copy link

@yuyuany yuyuany commented Sep 1, 2017

This is an alternative solution for PR #138 - enclave state check in sgx_ocall. tRTS check the enclave crash state when doing an OCALL. If the enclave is crashed, tRTS unwind the stack to ECALL, and exit the enclave with SGX_ERROR_ENCLAVE_CRASHED.

Signed-off-by: Yu Yuan [email protected]

…e is crashed, tRTS unwind the stack to ECALL, and exit the enclave with SGX_ERROR_ENCLAVE_CRASHED.

Signed-off-by: Yu Yuan <[email protected]>
@lzha101 lzha101 merged commit df9b032 into intel:master Sep 5, 2017
@yuyuany yuyuany deleted the ocall_exit_enclave branch September 6, 2017 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants