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 wait error after vfork #10531

Merged
merged 2 commits into from Sep 7, 2023

Conversation

yangyalei
Copy link

@yangyalei yangyalei commented Sep 7, 2023

Summary

Implement WNOWAIT specified by: https://pubs.opengroup.org/onlinepubs/9699919799/functions/waitid.html
and forward WNOWAIT in vfork instead passing release flag

Impact

code refactor only

Testing

sim:ostest

yangyalei added 2 commits September 7, 2023 21:28
vfork use waitpid hang father process,
but waitpid release child processs information by default.
So when user call wait, it return errno 10.

Signed-off-by: yangyalei <yangyalei@xiaomi.com>
@pkarashchenko pkarashchenko merged commit fd776e8 into apache:master Sep 7, 2023
23 of 26 checks passed
@yangyalei yangyalei deleted the fix-wait-error-after-vfork branch September 8, 2023 01:47
@jerpelea jerpelea added this to To-Add in Release Notes - 12.3.0 Sep 26, 2023
@jerpelea jerpelea moved this from To-Add to done in Release Notes - 12.3.0 Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants