Re: [PATCH] [3/3] Support piping into commands in /proc/sys/kernel/core_pattern

From: Andi Kleen
Date: Tue Aug 15 2006 - 02:01:50 EST


On Mon, Aug 14, 2006 at 05:43:19PM -0700, Andrew Morton wrote:
> On Mon, 14 Aug 2006 13:27:32 +0200 (CEST)
> Andi Kleen <ak@xxxxxxx> wrote:
>
> > The core dump proces will run with the privileges and in the name space
> > of the process that caused the core dump.
>
> Don't think so. __call_usermodehelper() is executed by the khelper kernel thread.

Yes, you're right the comment is wrong. It does run as root instead
with global name space. I needed that because otherwise
it needed a global writable directory for the core dumps.

Feel free to change it in your version.

That happens when you write the description months later than the code ...

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