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>
This commit is contained in:
Michael Kerrisk 2013-06-08 12:02:57 +02:00
parent 18299dfc00
commit 173e4d50e7
1 changed files with 6 additions and 3 deletions

View File

@ -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,