wasm-micro-runtime/samples
Jämes Ménétrey dfd16f8e4f
linux-sgx: Implement SGX IPFS as POSIX backend for file interaction (#1489)
This PR integrates an Intel SGX feature called Intel Protection File System Library (IPFS)
into the runtime to create, operate and delete files inside the enclave, while guaranteeing
the confidentiality and integrity of the data persisted. IPFS can be referred to here:
https://www.intel.com/content/www/us/en/developer/articles/technical/overview-of-intel-protected-file-system-library-using-software-guard-extensions.html

Introduce a cmake variable `WAMR_BUILD_SGX_IPFS`, when enabled, the files interaction
API of WASI will leverage IPFS, instead of the regular POSIX OCALLs. The implementation
has been written with light changes to sgx platform layer, so all the security aspects
WAMR relies on are conserved.

In addition to this integration, the following changes have been made:
 - The CI workflow has been adapted to test the compilation of the runtime and sample
    with the flag `WAMR_BUILD_SGX_IPFS` set to true
 - Introduction of a new sample that demonstrates the interaction of the files (called `file`),
 - Documentation of this new feature
2022-09-28 13:09:58 +08:00
..
basic Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
file linux-sgx: Implement SGX IPFS as POSIX backend for file interaction (#1489) 2022-09-28 13:09:58 +08:00
gui Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
littlevgl Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
multi-module Fix multi-module and some other issues (#1435) 2022-08-31 17:38:38 +08:00
multi-thread Fix issue in multi-thread sample (#1458) 2022-09-07 12:56:50 +08:00
native-lib Make robust on choosing target assumption for X86_32 support (#1241) 2022-06-27 20:30:31 +08:00
ref-types Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
sgx-ra Enable remote attestation by librats in SGX mode (#1445) 2022-09-06 14:29:58 +08:00
simple Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
socket-api Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
spawn-thread Make robust on choosing target assumption for X86_32 support (#1241) 2022-06-27 20:30:31 +08:00
wasm-c-api Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
workload Dockerfile lint errors fix (#1493) 2022-09-22 13:06:11 +08:00