Skip to content

wait: WSTOPPED & ptrace fixes

Oleg Nesterov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wait: WSTOPPED|WCONTINUED hangs if a zombie child is traced by real_parentkernel/exit.c+16 -130 replies
2/2wait: WSTOPPED|WCONTINUED doesn't work if a zombie leader is traced by another processkernel/exit.c+9 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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.