-
Notifications
You must be signed in to change notification settings - Fork 210
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
Problems when using fork and vfork in linux_syscall implmented by zCore. #186
Comments
Fork is not supported in library OS mode now. Because user programs and libOS are running in a single Linux process, sharing the address space. Instead vfork should work. Maybe there is an unknown bug here :( |
Oh you are right. According to the Linux manual:
The child process should do nothing but call |
It's great! Thanks for your reply! |
We built a test case for fork(), but there are segment fault also for vfork(). Can anyone help me?
The text was updated successfully, but these errors were encountered: