PROBLEM: Linux kernel.core_pattern with pipes does argument splitting after template expansion

2019-03-18 Thread Paul Wise
The Linux kernel.core_pattern support for core dump handlers using the pipe syntax does argument splitting after template expansion. At minimum this bug could cause truncated values for the executable name. This also means that the argument parsing for core dump handlers is slightly more complicat

[PATCH] coredump: Split pipe command whitespace before expanding template

2019-05-20 Thread Paul Wise
l the core dump handlers that exist. Reported-by: Jakub Wilk Reported-in: <20190312145043.jxjoj66kqsspt...@jwilk.net> Reported-by: Paul Wise Reported-in: Suggestions-from: Jakub Wilk Signed-off-by: Paul Wise See-also: https://bugs.debian.org/924398 Fi

[PATCH] coredump: Split pipe command whitespace before expanding template

2019-05-20 Thread Paul Wise
l the core dump handlers that exist. Reported-by: Jakub Wilk Reported-in: <20190312145043.jxjoj66kqsspt...@jwilk.net> Reported-by: Paul Wise Reported-in: Suggestions-from: Jakub Wilk Signed-off-by: Paul Wise See-also: https://bugs.debian.org/924398 Fi

Re: [PATCH AUTOSEL 5.2 57/59] coredump: split pipe command whitespace before expanding template

2019-08-06 Thread Paul Wise
On Tue, 2019-08-06 at 17:33 -0400, Sasha Levin wrote: > From: Paul Wise > > [ Upstream commit 315c69261dd3fa12dbc830d4fa00d1fad98d3b03 ] The patch changes the behaviour of the interface between the Linux kernel and userspace core dump handlers. The previous behaviour was unlik

[PATCH v3] coredump: Split pipe command whitespace before expanding template

2019-05-27 Thread Paul Wise
l the core dump handlers that exist. Fixes: 74aadce98605 Reported-by: Jakub Wilk Reported-in: https://bugs.debian.org/924398 Reported-by: Paul Wise Reported-in: https://lore.kernel.org/linux-fsdevel/c8b7ecb8508895bf4adb62a748e2ea2c71854597.ca...@bonedaddy.net/ Suggested-by: Jakub Wilk Signed-o