On 03/25, Oleg Nesterov wrote:Additional note. Suppose that the tracee dequeues the "good" signal, notices PT_PTRACED and calls ptrace_stop(). We set TASK_TRACED under ->siglock, without holding tasklist_lock. At this moment you kill strace, it clears ->exit_code. The tracee notices it is not traced any longer and returns to get_signal_to_deliver(). Since ->exit_code is cleared, the "right" signal is lost. So I think this patch adds a race. In some sense (yes I am biased) this is even worse than the problem this patch tries to solve, because this race is unlikely and is hard to trigger/debug, and it could be easily unnoticed. Oleg. --
| Ryan Hope | reiser4 for 2.6.27-rc1 |
| Ingo Molnar | Re: 2.6.24-rc6-mm1 |
| Tejun Heo | [PATCHSET] CUSE: implement CUSE |
| Peter Zijlstra | Re: 2.6.24-rc8-mm1 (BUG: sched_rt) |
git: | |
| Shawn O. Pearce | Re: [PATCH/POLL] git-format-patch: the default suffix is now .patch, not .txt |
| Jakub Narebski | Re: What's cooking in git.git (topics) |
| Junio C Hamano | Maintaining "needswork" section of "What's (not) cooking" |
| Matthias Lederhofer | [PATCH] prune-packed: new option --min-age=N |
| Theo de Raadt | That whole "Linux stealing our code" thing |
| Karthik Kumar | Re: Real men don't attack straw men |
| Khalid Schofield | Configuring sendmail openbsd 4.2 |
| Ray Percival | Re: Real men don't attack straw men |
| RW | Re: forcefsck on booting stage |
| Vladimir Terziev | Video memory as swap under FreeBSD |
| Ivan Voras | Progress for 7.0 - the "what's cooking" page |
| Pietro Cerutti | Re: [patch] enhance powerd(8) to handle max temperature |
