Commit Graph

731 Commits

Author SHA1 Message Date
Tate, Hongliang Tian
d960792ef3 Add Waiter and WaitQueue 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
372649f3d6 Add getpid and getppid 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
b717842113 Switch user/kernel fsbase 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
05e5efdb57 Handle exit status correctly 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
e5d3ab3cf9 Enable MPX 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
9389b702ba Use Occlum toolchain to compile test programs 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
8601c5da35 Refactor syscall- and fs-related code into modules 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
0cda8dffe7 Works on SGX 1.0 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
e9064e3914 Upgrade Rust SGX SDK to v1.0.4 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
ea00690e68 Add mmap, munmap, mremap and brk syscalls 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
852903de20 Add virtual memory subsystem 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
4107a65248 Enable libc's printf 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
10e3da87cc Add lseek 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
f2ebc5c330 Add readv and writev 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
4c3f556c7d Do relocation for .rela.dyn section 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
cf77c3a9a8 Init program stack to pass argc, argv, etc. 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
f0e7bae0d7 Works with a minimal version of Occlum's libc 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
a4f37f8917 Use new name Occlum in code 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
65826cb1b6 Udpate README.md to reflect the new name Occlum 2019-02-16 16:23:30 +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
a66c55f95f Add open, read, write and close 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
68d459975d Minimize the # of memory pages whose permissions are modified 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
b041dee55c Release resources when processes destroyed 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
4fbfe7bf0c Add syscall getpid and wait4 (this latter one is fake) 2019-02-16 16:23:30 +08:00
Tate, Hongliang Tian
637e15f6c6 Add syscall spawn 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
1428cff243 Add README.md 2019-02-16 16:19:46 +08:00
Tate, Hongliang Tian
c1ddfac700 Remove unnecessary copyright header 2019-02-16 16:16:50 +08:00
Tate, Hongliang Tian
264ac7f993 Add write syscall and prints Hello World 2018-07-01 15:57:41 +08:00
Tate, Hongliang Tian
226245dd9a Add Rust SGX SDK as a submodule 2018-06-29 13:43:19 +08:00