summaryrefslogtreecommitdiff
path: root/man5
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-06-08 12:02:57 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-12 14:56:28 +0200
commit173e4d50e7f77747d21729239d471f0b1e50d268 (patch)
tree64eefe48103723e773745667e786d98c9b4558ae /man5
parent18299dfc00573ec8270b24059aef39f6ba5af7d5 (diff)
core.5: Implicitly adding the PID to a core filename was dropped in 2.6.27
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5')
-rw-r--r--man5/core.59
1 files changed, 6 insertions, 3 deletions
diff --git a/man5/core.5 b/man5/core.5
index e71277dd..17d0cce3 100644
--- a/man5/core.5
+++ b/man5/core.5
@@ -22,7 +22,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH CORE 5 2013-02-25 "Linux" "Linux Programmer's Manual"
+.TH CORE 5 2013-06-08 "Linux" "Linux Programmer's Manual"
.SH NAME
core \- core dump file
.SH DESCRIPTION
@@ -300,7 +300,9 @@ The
.I gcore
command can be used to obtain a core dump of a running process.
-If a multithreaded process (or, more precisely, a process that
+In Linux versions up to and including 2.6.27,
+.\" Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
+if a multithreaded process (or, more precisely, a process that
shares its memory with another process by being created with the
.B CLONE_VM
flag of
@@ -309,7 +311,8 @@ dumps core, then the process ID is always appended to the core filename,
unless the process ID was already included elsewhere in the
filename via a %p specification in
.IR /proc/sys/kernel/core_pattern .
-(This is primarily useful when employing the LinuxThreads implementation,
+(This is primarily useful when employing the obsolete
+LinuxThreads implementation,
where each thread of a process has a different PID.)
.\" Always including the PID in the name of the core file made
.\" sense for LinuxThreads, where each thread had a unique PID,