wait: WSTOPPED & ptrace fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wait: WSTOPPED|WCONTINUED hangs if a zombie child is traced by real_parentkernel/ | +16 | 0 replies | |
| 2/2 | wait: WSTOPPED|WCONTINUED doesn't work if a zombie leader is traced by another processkernel/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] wait: WSTOPPED & ptrace fixes
Quoted 4 lines · Oleg Nesterov
Tejun, unless I missed something WSTOPPED logic is broken if a process has a zombie/ptraced leader, "A zombie ptracee is only visible to its ptracer" is wrong in this case. Plus perhaps some cleanups make sense.
In fact it is broken even if it the child/tracee is single-threaded.
And I failed to find a simple fix which is not visible to user-space. It would be nice if you can ack/nack at least the changelog in 1/2, I mean the note about SIGNAL_STOP_CONTINUED.
And unless I missed something WEXITED is broken too, so I'll probably send more changes.
Oleg.