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] Remove child process related code (use single process) #24

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

Comments

@hukoyu
Copy link
Collaborator

hukoyu commented Jul 31, 2020

Some ltp tests uses child process. sgx-lkl doesn't support fork and child process. We patched FORK_OR_VFORK function in LTP framework to return always 0 which means parent process (sgx-lkl enclave process) id will be used always.
We removed child process related code like waiting on child process, exiting in child process, ...

LTP tests fixed by removing child related code: (Count: 10)

setrlimit04
mkdir02
pipe02, pipe09
setfsuid04
chroot02
execve02
fcntl12
ptrace03
futex_wake02

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