occlum/test
Hui, Chunyang c14ee62678 Add untrusted environment variable override
Add "untrusted" sections for environment variables defined in Occlum.json. Environment
variable defined in "default" will be shown in libos directly. Environment variable
defined in "untrusted" can be passed from occlum run or PAL layer and can override
the value in "default" and thus is considered "untrusted".
2020-05-25 03:14:54 +00:00
..
access Fix the access and faccessat system calls 2020-05-15 02:59:16 +00:00
chmod Add chmod and chown system calls 2020-04-03 03:39:57 +00:00
chown Add chmod and chown system calls 2020-04-03 03:39:57 +00:00
client Optimize the perf of sendmsg/recvmsg by allocating untrusted buffers directly 2020-01-23 06:58:51 +00:00
cout Add c++ examples 2019-06-01 11:22:04 +08:00
cpuid Fix cpuid failed for unprivileged user 2020-05-15 02:59:16 +00:00
data_sink Fix benchmark programs by correcting program paths 2019-12-02 05:55:36 +00:00
device Add fstat() and poll() for the random device 2020-02-27 03:41:05 +00:00
empty Support argc and argv for child process after spawn 2019-02-16 16:24:08 +08:00
emulate_syscall Add the emulation of SYSCALL instruction 2020-05-15 02:59:16 +00:00
env Add untrusted environment variable override 2020-05-25 03:14:54 +00:00
eventfd Add eventfd file type and system call 2020-03-24 22:16:41 +08:00
exit_group Add three new occlum commands: start, exec and stop 2020-05-15 03:02:42 +00:00
fcntl Fix F_DUPFD crash when there is no space in file table 2020-04-03 12:47:04 +08:00
file Fix the negative offset check for pread/pwrite 2020-05-15 02:59:16 +00:00
fs_perms Harden SEFS with extra MAC and permission checks 2019-10-12 16:55:57 +00: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 Remove tabs in the source files of test cases 2020-05-15 02:59:16 +00:00
include Rewrite epoll implementation and the test 2020-04-02 17:43:24 +08:00
ioctl Fix tty ioctl test for non-tty stdout 2020-04-14 06:32:21 +00:00
link Remove tabs in the source files of test cases 2020-05-15 02:59:16 +00:00
malloc Support argc and argv for child process after spawn 2019-02-16 16:24:08 +08:00
mkdir Remove tabs in the source files of test cases 2020-05-15 02:59:16 +00:00
mmap Refactor THROW_ERROR macro in tests 2019-11-28 11:10:23 +00:00
open Add fstatat and openat system calls 2020-03-09 16:20:51 +00:00
pipe Add pipe support for fcntl's F_GETFL and F_SETFL commands 2020-01-23 04:40:54 +00:00
pipe_throughput Fix benchmark programs by correcting program paths 2019-12-02 05:55:36 +00:00
pthread Refactor the process/thread subsystem 2020-04-15 06:22:41 +00:00
rdtsc Fix the emulation of RDTSC instruction with ocall 2020-03-24 22:06:14 +08:00
readdir Fix getdents when the next dir entry cannot fit into the output buffer 2020-01-23 04:40:54 +00:00
rlimit Add prlimit64, getrlimit, and setrlimit 2019-04-10 09:03:41 +08:00
sched Fix sched agent failure for offline core 2020-05-15 02:59:16 +00:00
server Fix reading extra message in neogotiate_msg 2020-05-15 21:49:26 +08:00
server_epoll Fix potential address-in-use errors in epoll_server test 2020-05-15 03:02:42 +00:00
signal Send SIGCHLD to parent process 2020-05-18 20:24:14 +08:00
sleep Refactor THROW_ERROR macro in tests 2019-11-28 11:10:23 +00:00
spawn Add the integrity-only mode SEFS 2019-08-17 04:20:11 +00:00
spawn_and_exit_latency Fix benchmark programs by correcting program paths 2019-12-02 05:55:36 +00:00
stat Add fstatat and openat system calls 2020-03-09 16:20:51 +00:00
symlink Add readlink from /proc/self/fd/<fd> to get file paths 2020-01-23 04:40:54 +00:00
time Refactor THROW_ERROR macro in tests 2019-11-28 11:10:23 +00:00
tls Enable Thread Local Storage (TLS) 2019-04-06 22:55:16 +08:00
truncate Remove tabs in the source files of test cases 2020-05-15 02:59:16 +00:00
uname Add uname 2019-04-10 09:03:41 +08:00
unix_socket Fix error when PF_UNIX is passed as protocol to create unix socket 2020-05-15 02:59:16 +00:00
unix_socket_throughput Remove tabs in the source files of test cases 2020-05-15 02:59:16 +00:00
Enclave.xml Add a command-line interface tool named occlum 2019-08-28 06:05:12 +00:00
Makefile Add counters for passes and failures in test 2020-05-22 14:23:20 +08:00
Occlum.json Add untrusted environment variable override 2020-05-25 03:14:54 +00:00
test_common.mk Add untrusted environment variable override 2020-05-25 03:14:54 +00:00