Re: [PATCH v3] Fix clearing of task->ptrace if PTRACE_SETOPTIONSfails

From: Oleg Nesterov
Date: Wed Sep 07 2011 - 16:39:48 EST


On 09/07, Denys Vlasenko wrote:
>
> Fix clearing of task->ptrace if PTRACE_SETOPTIONS fails.
>
> If PTRACE_SETOPTIONS fails, options should not be affected.
> This patch makes it so.

Heh, OK. You won ;)

> While at it, simplify a few things:

No, no, Denys. Please make a separate patch which changes the
current behaviour, please. Then cleanups.

Otherwise looks correct.

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/