Tate, Hongliang Tian
a84803e951
Refactor Occlum PAL as a shared library
...
By providing Occlum PAL as a shared library, it is now possible to embed and
use Occlum in an user-controled process (instead of an Occlum-controlled one).
The APIs of Occlum PAL can be found in `src/pal/include/occlum_pal_api.h`. The
Occlum PAL library, namely `libocclum-pal.so`, can be found in `.occlum/build/lib`.
To use the library, check out the source code of `occlum-run` (under
`src/run`), which can be seen as a sample code for using the Occlum PAL
library.
2020-01-23 04:40:54 +00:00
Tate, Hongliang Tian
347791f235
Add install target for Makefile
2019-08-31 06:01:16 +00:00
Tate, Hongliang Tian
5c5b0ea429
Add Git hooks that check Rust code format issues
2019-08-28 06:32:50 +00:00
Tate, Hongliang Tian
76f91a1aa3
Add Occlum.json. No more configs hardcoded in code
...
1. Add Occlum.json as Occlum's config file
2. Add tools/bin/build_enclave
3. Add tools/bin/protect_integrity
4. Validate Occlum.json.protected on LibOS startup
5. Parse Occlum.json.protected on LibOS startup
6. Config enclave size using Occlum.json
7. Config process memory sizes using Occlum.json
2019-08-09 09:19:51 +00:00
Tate, Hongliang Tian
30265261cf
Remove a deprecated submodule sgx_protect_file
2019-07-18 11:02:01 +00:00
WangRunji
8b9226ee15
add missing command to build sefs-fuse
2019-03-29 14:20:25 +08:00
Tate, Hongliang Tian
a2b62891cc
Add file I/O test
2019-02-16 16:24:08 +08:00
Tate, Hongliang Tian
2b4c8255c6
Improve the build system
2019-02-16 16:24:08 +08:00
Tate, Hongliang Tian
644b3538dd
A small bug fix to top-level Makefile
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
757d3f2f4d
Use my forked xmas-elf as a submodule
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
7671dbf470
Load and run a Hello World program
2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
264ac7f993
Add write syscall and prints Hello World
2018-07-01 15:57:41 +08:00