|
|
@ -52,7 +52,6 @@ arch_mcontext_restore(mcontext_t *active_context, struct arch_context *sandbox_c
|
|
|
|
|
|
|
|
|
|
|
|
/* Restore mcontext */
|
|
|
|
/* Restore mcontext */
|
|
|
|
memcpy(active_context, &sandbox_context->mctx, sizeof(mcontext_t));
|
|
|
|
memcpy(active_context, &sandbox_context->mctx, sizeof(mcontext_t));
|
|
|
|
memset(&sandbox_context->mctx, 0, sizeof(mcontext_t));
|
|
|
|
|
|
|
|
sandbox_context->variant = arch_context_running;
|
|
|
|
sandbox_context->variant = arch_context_running;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|