occlum/test
Hui, Chunyang 4c3ca79134 Make vfork stop parent child threads
When vfork is called and the current process has other running child threads,
for Linux, the other threads remain running. For Occlum, this behavior is
different. All the other threads will be frozen until the vfork returns
or execve is called in the child process.

The reason is that since Occlum doesn't support fork, many applications will
use vfork to replace fork. For multi-threaded applications, if vfork doesn't
stop other child threads, the application will be more likely to fail because
the child process directly uses the VM and the file table of the parent process.
2022-10-18 21:57:57 +08:00
..
access Add "*at()" system calls 2020-09-18 12:39:12 +08:00
chmod Add "*at()" system calls 2020-09-18 12:39:12 +08:00
chown Add Glibc as an optional libc and fix test cases 2020-12-16 19:21:22 +08:00
client Fix the compiler's warnings in make test with glibc 2021-08-04 12:00:31 +08:00
cout Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
cpuid [test] Fix the errors in cpuid test 2022-03-19 15:32:45 +08:00
data_sink Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
device Fix the compiler's warnings in make test with glibc 2021-08-04 12:00:31 +08:00
empty Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
emulate_syscall Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
env Fix sysinfo and env test case failure in stress test 2021-10-18 13:04:39 +08:00
epoll Fix epoll_ctl not waking up epoll_wait 2022-09-22 15:11:31 +08:00
eventfd Fix the compiler's warnings in make test with glibc 2021-08-04 12:00:31 +08:00
exec Fix the compiler's warnings in make test with glibc 2021-08-04 12:00:31 +08:00
exit_group Enable simulation interrupt mode support 2021-12-14 10:58:09 +08:00
fcntl Add file POSIX advisory range lock 2021-09-15 11:15:42 +08:00
file Add support for the mode of fallocate 2021-09-01 19:24:22 +08:00
flock Add test case for FLOCK 2022-03-09 16:00:23 +08:00
fs_perms Add O_TRUNC support in open syscall and rewrite the truncate test 2021-06-04 11:47:38 +08:00
getpid Add process group implementation and support set/getpgid, set/getpgrp 2021-08-20 08:34:44 +08:00
hello_world Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
hostfs Fix the issue when path is suffixed by "/" 2022-08-15 09:21:52 +08:00
include Add support for the mode of fallocate 2021-09-01 19:24:22 +08:00
ioctl Disable DCAP of ioctl test in hyper mode 2022-07-06 15:31:56 +08:00
link Add Glibc as an optional libc and fix test cases 2020-12-16 19:21:22 +08:00
malloc Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
mkdir Fix the issue when path is suffixed by "/" 2022-08-15 09:21:52 +08:00
mmap [libos] Fix munmap conflict chunk range and vma range 2022-09-06 12:57:16 +08:00
mount Add mount and umount syscall 2021-11-29 15:11:37 +08:00
naughty_child Add vfork support 2021-08-24 11:24:03 +08:00
open Fix the issue when path is suffixed by "/" 2022-08-15 09:21:52 +08:00
pgrp Add process group implementation and support set/getpgid, set/getpgrp 2021-08-20 08:34:44 +08:00
pipe Add support for ioctl FIONREAD, FIOCLEX, FIONCLEX for pipe and uds file 2021-06-07 08:28:51 +08:00
pipe_throughput Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
posix_flock Rename the flock test case to posix_flock 2022-03-09 16:00:23 +08:00
prctl Add Glibc as an optional libc and fix test cases 2020-12-16 19:21:22 +08:00
procfs Add support for /proc/self(pid)/maps 2022-08-08 08:40:52 +08:00
pthread Add support for robust futex syscalls 2021-07-30 10:25:24 +08:00
random Add getrandom syscall 2021-09-06 19:20:51 +08:00
rdtsc Fix the emulation of RDTSC instruction with ocall 2020-03-24 22:06:14 +08:00
readdir Add getdents support for procfs's inode 2021-08-03 20:40:07 +08:00
rename Fix the issue when path is suffixed by "/" 2022-08-15 09:21:52 +08:00
resolv_conf Fix the compiler's warnings in make test with glibc 2021-08-04 12:00:31 +08:00
rlimit Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
sched Fix the sched test when available cpu is less than online cpu 2021-01-20 16:00:33 +08:00
server Fix timing issue in test_sendmsg_recvmsg_connectionless 2021-11-03 20:33:22 +08:00
server_epoll Workaround the server and server_epoll test case 2021-03-03 16:07:51 +08:00
shm [test] Add test for SHM 2022-04-28 20:05:50 +08:00
signal Enable exception test cases under simulation mode 2021-03-03 16:07:51 +08:00
sleep Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
spawn Add vfork support 2021-08-24 11:24:03 +08:00
spawn_and_exit_latency Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
spawn_attribute Add support for POSIX_SPAWN_SETSIGMASK and POSIX_SPAWN_SETSIGDEF 2021-06-01 20:34:51 +08:00
stat Fix the issue when path is suffixed by "/" 2022-08-15 09:21:52 +08:00
statfs Add statfs and fstatfs syscall 2021-06-04 11:36:47 +08:00
symlink Add ProcFS 2021-01-20 12:42:00 +08:00
sysinfo Fix sysinfo and env test case failure in stress test 2021-10-18 13:04:39 +08:00
system_info Add getgroups syscall 2021-06-10 20:14:37 +08:00
time Add time syscall and default localtime support 2021-03-26 16:56:57 +08:00
timerfd Support timerfd-related syscall 2021-07-16 14:36:27 +08:00
tls Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
truncate Add O_TRUNC support in open syscall and rewrite the truncate test 2021-06-04 11:47:38 +08:00
umask Add support for umask 2021-08-09 16:50:53 +08:00
unix_socket Add sendmsg/recvmsg support for unix domain socket 2022-08-23 20:37:57 +08:00
unix_socket_throughput Format c/c++ files in src, tools and test 2020-05-27 07:09:18 +00:00
utimes [test] Add test case for UTIME 2022-03-22 17:59:00 +08:00
vfork Make vfork stop parent child threads 2022-10-18 21:57:57 +08:00
wait Add support for WNOHANG of waitpid option 2021-05-10 10:11:24 +08:00
Makefile Fix epoll_ctl not waking up epoll_wait 2022-09-22 15:11:31 +08:00
Occlum.json [tools] Support configuring PKU in Occlum.json 2022-07-17 17:12:14 +08:00
test_common.mk [hyper mode] Add compile support 2022-03-19 15:32:45 +08:00