You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Mingshen Sun <no...@github.com> on 2020/09/01 22:17:06 UTC

[apache/incubator-teaclave] Force to call enclave destory when receiving signals (#413)

## Description

When receiving singals like SIGTERM, SIGINT, the services will be terminated immediately. Before exiting the process, we force to call enclave destroy. This will help us to collect sgx_emmt information if needed.

Also, two global variables are added for profiling memory usage.
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/413

-- Commit Summary --

  * Force to call enclave destory when receiving signals

-- File Changes --

    M binder/src/binder.rs (4)
    M cmake/scripts/Enclave.lds (2)
    M services/access_control/app/src/main.rs (3)
    M services/authentication/app/src/main.rs (3)
    M services/execution/app/src/main.rs (3)
    M services/frontend/app/src/main.rs (3)
    M services/management/app/src/main.rs (3)
    M services/scheduler/app/src/main.rs (3)
    M services/storage/app/src/main.rs (3)
    M services/utils/service_app_utils/src/lib.rs (4)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/413.patch
https://github.com/apache/incubator-teaclave/pull/413.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/413

Re: [apache/incubator-teaclave] Force to call enclave destory when receiving signals (#413)

Posted by Mingshen Sun <no...@github.com>.
Merged #413 into master.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/413#event-3717576558