From 8d85a961ac6f97a51175b862830cd7571ac825bc Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 9 Jun 2020 12:08:39 +0200 Subject: [PATCH] core.5: Explain that core_pattern %e is process/thread 'comm' value The 'comm' value is typically the same as the (possibly truncated) executable name, but may be something different. Reported-by: Jonny Grant Signed-off-by: Michael Kerrisk --- man5/core.5 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/man5/core.5 b/man5/core.5 index 0d7b7b6178..995ac3a62b 100644 --- a/man5/core.5 +++ b/man5/core.5 @@ -174,7 +174,17 @@ dump mode\(emsame as value returned by (since Linux 3.7) .TP %e -executable filename (without path prefix) +The process or thread's +.I comm +value, which typically is the same as the executable filename +(without path prefix, and truncated to a maximum of 15 characters), +but may have been modified to be something different; +see the discussion of +.I /proc/[pid]/comm +and +.I /proc/[pid]/task/[tid]/comm +in +.BR proc (5). .TP %E pathname of executable, -- 2.47.2