Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Add a SM call that allows for an enclave to exit and mark itself as "failed" #16

Open
chungmcl opened this issue Mar 3, 2022 · 1 comment
Assignees

Comments

@chungmcl
Copy link

chungmcl commented Mar 3, 2022

From discussion with @dkohlbre

We should have a way for an enclave to exit/stop and specify that execution of the runtime failed and that this enclave should be not be run again. Currently the SM's exit/stop are very similar in functionality and neither allow the enclave to specify it failed.

@dkohlbre
Copy link
Contributor

dkohlbre commented Mar 7, 2022

After talking with Dayeol, this was the intended purpose of the exit SBI call. We will want to update it to actually mark the enclave as non-resumeable.
This will also require updating the docs and figures to indicate exit does this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants