gramine
gramine copied to clipboard
A library OS for Linux multi-process applications, with Intel SGX support
## Description of the changes This PR was dependent on sysfs rewrite. Now that it is done, reviving this PR. This commit adds an approx. implementation of `getcpu` syscall that...
## Description of the changes This commit adds bookkeeping of PAL memory in LibOS which allows for removal of `loader.pal_internal_mem_size` manifest option and its hacky implementation. I'm not particularly happy...
## Description of the problem One of the cloud use cases is to modularize secure applications running in a system into different enclaves. This is to minimize the TCB and...
LibOS codebase doesn't require `handle::uri` to be set. Appending NULL URI directly to GDB link map will lead to an unexpected memory fault occurred inside PAL. This patch appends `handle::uri`...
## Description of the changes As pointed out in review https://reviewable.io/reviews/gramineproject/gramine/719 this test is ugly. Rewrite it to self check whatever it can. We can trust `stat` while determine the...
### I am trying to create a secure client-server architecture using Zero-mq and Protocol buffers. While running the server linux binary with gramine I am getting below error. **Function not...
Previously, we built `libsgx_util` as a shared library which is linked into RA-TLS, Secret Provisioning libraries and some other tools. This patch - builds `libsgx_util` into a static library -...
Signed-off-by: Liang, Ma ## Description of the changes 1. When we configure gramine in [Anolis OS](https://openanolis.cn/), The[ ra_tls_mbedtls](https://github.com/gramineproject/gramine/tree/master/CI-Examples/ra-tls-mbedtls) under CI-Example can't work correctly. This is caused by the [Makefile](https://github.com/gramineproject/gramine/blob/master/CI-Examples/ra-tls-mbedtls/Makefile) is...
## Description of the changes Found a few survivors left after the recent renamings. - - - This change is [](https://reviewable.io/reviews/gramineproject/gramine/831)
## Description of the changes `ioctl(FIONCLEX/FIONCLEX)` should update flags in `libos_fd_handle` instead of `libos_handle`. `O_CLOEXEC` flag is only handled in `libos_fd_handle`. Also add `O_RDWR` to flags of `libos_handle` for socket....