Re: [PATCH 03/10] ptrace: implement PTRACE_SEIZE

From: Linus Torvalds
Date: Tue May 31 2011 - 17:32:58 EST


On Wed, Jun 1, 2011 at 4:08 AM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> On a seriouse note, of course you are right, but what we should do?

Have we *ever* gotten a bug-report about these kinds of things from
actual users?

IOW, it may be an annoying issue from a theoretical standpoint, but
afaik it's not an annoying issue from a practical user standpoint.

Compare it to the _practically_ annoying issue we had with ^C and
bash, where it was fundamentally impossible to know whether the child
actually exited due to the ^C or not due to the interfaces. That one
caused actual practical issues that people hit, and that were
impossible to work around in theory, and hard to work around in
practice..

In comparison, I don't think pid-vs-namespace issues for ptrace or
some subtle interaction with execve is really all that big of a
problem in practice.

Keep the eye on the ball: look around what people actually complain
about for practical reason that they hit, rather than issues that
people say "wouldn't it be nice if.." about.

Linus
--
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/