LI Qing
87c1c9a8b3
Add support for umask
2021-08-09 16:50:53 +08:00
LI Qing
b390ecaae9
Add creat syscall
2021-08-06 10:40:44 +08:00
LI Qing
865e38258b
Add support for '/proc/[pid]/stat'
...
Many field values are displayed as 0
2021-08-05 16:10:54 +08:00
LI Qing
33876e122f
Fix the compiler's warnings in make test with glibc
2021-08-04 12:00:31 +08:00
Hui, Chunyang
b2b86b796a
Add support for /dev/fd
2021-08-03 21:30:15 +08:00
LI Qing
dc37995bf0
Add getdents support for procfs's inode
2021-08-03 20:40:07 +08:00
LI Qing
42bed8d338
Remove the mount config for tmp dir
2021-08-03 19:45:56 +08:00
LI Qing
215e8ffbdf
Add support for robust futex syscalls
2021-07-30 10:25:24 +08:00
ClawSeven
d35d98d551
Add resolv-conf parser
2021-07-28 10:52:46 +08:00
LI Qing
a54de67431
Fix the wrong value returned from getcwd
...
`getcwd` should return the length of buffer filled
2021-07-27 13:05:35 +08:00
LI Qing
17e4810d3e
Add support for "/proc/[pid]/comm" and fix "/proc/[pid]/cmdline"
2021-07-20 19:56:12 +08:00
ClawSeven
eb07b01ac0
Support timerfd-related syscall
2021-07-16 14:36:27 +08:00
Hui, Chunyang
09b7828f44
Disable busyloop test case due to signal handling constraints in SIM mode
2021-06-25 21:12:42 +08:00
Hui, Chunyang
c62b6d4091
Add support for execve
...
RFC: https://github.com/occlum/occlum/issues/429
2021-06-10 20:59:06 +08:00
Hui, Chunyang
0dc85f8229
Add support for indexing unix domain socket file with inode
2021-06-10 20:50:30 +08:00
zongmin.gu
2cedafeacb
Add getgroups syscall
2021-06-10 20:14:37 +08:00
Hui, Chunyang
883f7b259f
Add support for ioctl FIONREAD, FIOCLEX, FIONCLEX for pipe and uds file
2021-06-07 08:28:51 +08:00
LI Qing
eb046d4241
Add O_TRUNC support in open syscall and rewrite the truncate test
2021-06-04 11:47:38 +08:00
LI Qing
789b57c6f7
Add statfs and fstatfs syscall
2021-06-04 11:36:47 +08:00
zongmin.gu
070bdf6f39
Add sendmmsg syscall
2021-06-03 16:24:34 +08:00
Hui, Chunyang
d15a75fafb
Add support for POSIX_SPAWN_SETSIGMASK and POSIX_SPAWN_SETSIGDEF
2021-06-01 20:34:51 +08:00
LI Qing
69c79d8252
Fix a potential deadlock when dereference procfs's symlink
2021-06-01 18:40:41 +08:00
LI Qing
9a76ca1888
Add support for '/proc/[pid]/root'
2021-05-25 12:04:50 +08:00
Hui, Chunyang
6d37dd2d90
Add support for mremap with file-backed memory
2021-05-23 15:14:06 +08:00
Hui, Chunyang
a95e26df42
Add support for WNOHANG of waitpid option
2021-05-10 10:11:24 +08:00
LI Qing
ba720dc346
Add fstat support for pipe
2021-05-08 11:25:08 +08:00
Hui, Chunyang
f77e2c5e89
Add support for ioctl TCGETS/TCSETS
2021-04-29 14:23:01 +08:00
LI Qing
8db6a55696
Mount ramfs at '/dev/shm'
2021-04-01 14:16:07 +08:00
LI Qing
64a980f529
Add time syscall and default localtime support
2021-03-26 16:56:57 +08:00
zongmin.gu
4b1b6158fb
Workaround the server and server_epoll test case
...
In some cases, the main thread would be interrupted by
SIGCHID, so it needs retry more times or check the status.
2021-03-03 16:07:51 +08:00
zongmin.gu
0252f98d60
Enable exception test cases under simulation mode
2021-03-03 16:07:51 +08:00
LI Qing
be62e2c65d
Add posix_fallocate
2021-03-03 11:06:09 +08:00
LI Qing
3dbf050904
Add sync_all, sync_data and poll for hostfs file
2021-03-02 13:47:02 +08:00
LI Qing
c3a02ffc28
Add support for the encrypted fs image
2021-03-01 16:45:01 +08:00
Hui, Chunyang
f0fa35b004
Add errno info when return error in make test
2021-02-24 14:47:29 +08:00
Hui, Chunyang
79b264a6c8
Add support for Address Space Layout Randomization
...
ASLR is only enabled on release mode. Also manage the whole process
VM with VMManager.
2021-02-24 14:46:41 +08:00
LI Qing
d7b994bc7d
Fix getdents cannot output all entries in a directory
2021-02-24 13:24:54 +08:00
Hui, Chunyang
c4c3315c06
Fix false alarm on non-page-aligned size for mprotect
2021-02-23 20:59:17 +08:00
Hui, Chunyang
58bddcb89d
Fix sysinfo test false alarm on uptime
2021-02-04 17:48:43 +08:00
He Sun
2ea7fc1ad6
Add Unix socket support for poll
...
A relay notifier that observes the underlying endpoint is added as the
notifier for the socket. It broadcasts to its observers when either end
of the channel has IoEvents.
2021-01-21 23:45:36 +08:00
LI Qing
d4e7c906c0
Fix the sched test when available cpu is less than online cpu
2021-01-20 16:00:33 +08:00
LI Qing
0b51d83811
Add ProcFS
2021-01-20 12:42:00 +08:00
LI Qing
d6cd89f03b
Add DevFS for device files
2021-01-20 11:40:39 +08:00
He Sun
f711dcdf6d
Use pthread_join to wait for the async thread to exit
2021-01-14 16:17:32 +08:00
zongmin.gu
6954808fd9
Enlarge the user_space_size as a temp solution to make the CI pass
2021-01-14 08:22:35 +08:00
He Sun
f1e5f574ca
Add support for DCAP
...
1. Five new ioctl commands of /dev/sgx are added for occlum
applications to securely get and verify DCAP quote;
2. Not all the functions of the intel DCAP package are open to
developers to simplify the DCAP usage;
3. The test may only run on the platform with DCAP driver installed;
4. A macro OCCLUM_DISABLE_DCAP is used to separate the DCAP code from
the other code.
5. Skip DCAP test when DCAP driver is not detected or in simulation mode
2020-12-19 19:53:31 +08:00
LI Qing
22b02850a3
Add Glibc as an optional libc and fix test cases
2020-12-16 19:21:22 +08:00
He Sun
3b915db774
Refactor Unix socket
...
1. Implement type-safe functions;
2. Improve the correctness of nearly all the functions;
3. Improve the readability by introducing Listener and Endpoint for StreamUnix;
4. Substitue RingBuf with Channel in Unix socket.
2020-12-16 01:28:53 +08:00
zongmin.gu
a09c01819b
Enlarge the kernel heap size in make test
2020-12-16 01:03:15 +08:00
He Sun
5285e3b55d
Fix the insufficient output buffer in SIOCGIFCONF ioctl test
2020-12-02 14:56:14 +08:00