Messages in this thread | | | Date | Tue, 30 Aug 2011 08:21:44 -0700 | From | Earl Chew <> | Subject | Re: [PATCH v2 2/2] coredump: escape / in hostname and comm |
| |
Jiri,
I would like to suggest that both '%e' and '%E' use current->group_leader->comm instead of just current->comm.
Using plain current->comm gets strange effects when threads within a process start naming themselves using PR_SET_NAME (or its pthread_setname_np() equivalent).
Earl
| |