ptrace: fix ptrace_signal() && STOP_DEQUEUED interaction
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | ptrace: fix ptrace_signal() && STOP_DEQUEUED interactionkernel/ | +7 | 6 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Tejun Heo |
|---|---|
| 1/1 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] ptrace: fix ptrace_signal() && STOP_DEQUEUED interaction
Another very annoying and ancient problem which needs the fix, and any fix obviously adds the subtle user-visible changes.
In short, in general it is simply impossible to know whether PTRACE_CONT(SIGSTOP) will stop the tracee or not.
ee77f075 "signal: Turn SIGNAL_STOP_DEQUEUED into GROUP_STOP_DEQUEUED" makes the things better, at least STOP_DEQUEUED can't be set/cleared by another thread, but still without this patch the behavior is not clearly defined.
Oleg.