Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix Pattern] Use multithread instead of multiprocess #23

Open
hukoyu opened this issue Jul 31, 2020 · 0 comments
Open

[Fix Pattern] Use multithread instead of multiprocess #23

hukoyu opened this issue Jul 31, 2020 · 0 comments

Comments

@hukoyu
Copy link
Collaborator

hukoyu commented Jul 31, 2020

There are some LTP tests require multi processes and child processes. However, sgx-lkl is a single process solution and dosn't support fork or creating child processes. To enable these tests we used pthreads to create child threads and simulate these multiprocess tests with multithreads.

These tests modified to use multithread instead of multiprocess: (Count: 21)

setsid01
setreuid07
setresuid04
mkdir09, mkdir04
send01
sendfile02, sendfile05, sendfile06
sendmsg01
getsockopt02
flock03
sendto01
recv01
recvfrom01
recvmsg01
pipe04
getcwd04
conect01
futx_cmp_requeue01
futex_wake03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant