[PATCH v3 0/3] ptrace: ensure arch_ptrace/ptrace_request can neverrace with SIGKILL

From: Oleg Nesterov
Date: Mon Jan 21 2013 - 14:47:55 EST


On 01/21, Linus Torvalds wrote:
>
> I guess that works then. It's a bit sad, but at least I see why you did it.

OK, please see v3 rebased on top of "unexport ptrace_check_attach()" you
already applied.

I tried to update the comment in ptrace_check_attach(), and changed unfreeze()
to simply do WARN_ON() without if/return.

There is also the cosmetic change in 1/3,

- ptrace_signal_wake_up(child, task_is_traced(child));
+ ptrace_signal_wake_up(child, true);

in __ptrace_unlink().

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/