-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle unexpected exits in desched processing (fixes #3000)
There are two issues here: 1. We shouldn't attempt to do a `waitpid` if we know the process is dying, because our `waitpid` calling is pretty carefully choreographed after receiving PTRACE_EVENT_EXIT and an extra waitpid messes that up. 2. `advance_to_disarm_desched_syscall` wasn't robust to the possibility that the task could die and would infinite loop. Fix both by adding appropriate checks. Fixes #3000.
- Loading branch information
1 parent
888ac93
commit 81c8521
Showing
3 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters