[systemd-devel] [PATCH 2/2] coredump: Handle programs with spaces in COMM

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Apr 30 10:47:31 PDT 2013


On Tue, Apr 30, 2013 at 01:12:19PM -0400, Colin Walters wrote:
> This patch makes systemd-coredump handle processes that have
> whitespace in their COMM fields.
> 
> fs/coredump.c when given %e (as systemd-coredump uses), will end up
> joining the process arguments into a string (along with the other
> fields), then will split the entire thing up on whitespace, and use
> it as the arguments to the coredump pipe handler.
> 
> Previously, systemd-coredump would then reject them as having too many
> arguments.
> ---
That's a workaround for a bug in the kernel. I think it makes sense, but
it'd be nice to fix the kernel too.

Zbyszek


More information about the systemd-devel mailing list