Re: arch_ptrace_attach() without ptrace_traceme()?

From: Oleg Nesterov
Date: Mon Jun 27 2011 - 09:39:28 EST


(add lkml)

On 06/27, penguin-kernel@xxxxxxxxxxxxxxxxxxx wrote:
>
> Regarding commit f1671f6d "ptrace: fix exit_ptrace() vs ptrace_traceme() race",
> is calling arch_ptrace_attach() when ptrace_traceme() returned 0 without doing
> anything (due to PF_EXITING race) expected behavior?

Hmm. Good point, I thinks this should be fixed.

Thanks!

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/