occlum/test
Tate, Hongliang Tian a579f84e90 Enable new system call mechanism via Auxiliary Vector
The old system call mechanism works by relocating the symbol __occlum_syscall
provided by libocclum_stub.so to the real entry point of the LibOS. This symbol
relocation is done by the program loader. Now, the new system call mechanism is
based on passing the entry point via the auxiliary vector. This new mechanism
is simpler and is more compatible with the upcoming support for ld.so.

Changes:
1. Fix a bug in serializing auxiliary vector in the stack of a user program;
2. Passing syscall entry via auxiliary vector;
3. Remove relocating for the __occlum_syscall symbol;
4. Remove the dependency on libocclum_stub.so in tests.
2019-07-20 03:34:00 +00:00
..
client implement SocketFile. pass socket test 2019-04-07 11:47:54 +08:00
cout Add c++ examples 2019-06-01 11:22:04 +08:00
cpuid Inform Intel SGX SDK about Occlum-defined stacks 2019-07-18 07:16:17 +00:00
dev_null Add pipe throughput benchmark 2019-02-16 16:24:08 +08:00
device Add /dev/zero, /dev/random, /dev/urandom, and /dev/arandom 2019-07-19 12:30:15 +00:00
empty Support argc and argv for child process after spawn 2019-02-16 16:24:08 +08:00
env Enable new system call mechanism via Auxiliary Vector 2019-07-20 03:34:00 +00:00
file add test for pread, pwrite 2019-03-29 14:20:25 +08:00
getpid Support argc and argv for child process after spawn 2019-02-16 16:24:08 +08:00
hello_world Support argc and argv for child process after spawn 2019-02-16 16:24:08 +08:00
hostfs add simple HostFS, mount it at /host 2019-07-19 03:51:38 +00:00
include Add clock_gettimeofday 2019-07-18 10:51:12 +00:00
link add test for link, unlink, rename 2019-03-29 14:20:25 +08:00
malloc Support argc and argv for child process after spawn 2019-02-16 16:24:08 +08:00
mkdir Use SEFS at /, HostFS at /host, and RamFS at /tmp 2019-07-19 10:25:33 +00:00
mmap Add clock_gettimeofday 2019-07-18 10:51:12 +00:00
pipe load program bin from SEFS 2019-03-29 14:20:25 +08:00
pipe_throughput load program bin from SEFS 2019-03-29 14:20:25 +08:00
pthread Use mutex in Pthread test 2019-04-06 22:55:16 +08:00
rdtsc Handle cpuid and rdtsc instruction 2019-07-18 13:51:50 +08:00
readdir fix process cwd. fix open path 2019-03-29 14:20:25 +08:00
rlimit Add prlimit64, getrlimit, and setrlimit 2019-04-10 09:03:41 +08:00
server add test for simple socket syscalls 2019-04-07 11:28:43 +08:00
server_epoll add simple epoll test. fix epoll_wait, accept4 2019-04-12 15:14:11 +08:00
spawn load program bin from SEFS 2019-03-29 14:20:25 +08:00
spawn_and_exit_latency load program bin from SEFS 2019-03-29 14:20:25 +08:00
time Add clock_gettimeofday 2019-07-18 10:51:12 +00:00
tls Enable Thread Local Storage (TLS) 2019-04-06 22:55:16 +08:00
truncate Add access and faccessat 2019-04-10 09:03:41 +08:00
uname Add uname 2019-04-10 09:03:41 +08:00
unix_socket fix unix socket bench 2019-04-24 15:28:05 +08:00
unix_socket_throughput fix unix socket bench 2019-04-24 15:28:05 +08:00
Makefile Enable new system call mechanism via Auxiliary Vector 2019-07-20 03:34:00 +00:00
test_common.mk Enable new system call mechanism via Auxiliary Vector 2019-07-20 03:34:00 +00:00