Messages in this thread | | | Date | Wed, 8 Jun 2011 21:26:04 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH v2 1/2] coredump: use task comm instead of (unknown) |
| |
On 06/07, Jiri Slaby wrote: > > On 06/07/2011 08:16 PM, Oleg Nesterov wrote: > > > And, I am just noticed... > > > > for (p = path; *p; p++) > > if (*p == '/') > > *p = '!'; > > > > Why??? I am not arguing, just curious. > > In fact the reason is in the patch 2/2: > coredump: escape / in hostname and comm
which I can't find ;)
but,
> Change every occurence of / in comm and hostname to !. If the process > changes its name to contain /, the core is not dumped
Ah, indeed, somehow I forgot about !ispipe case.
Thanks.
Oleg.
| |