From 9d8b225095506a4499c81aec94d8fa876e6ab85f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 30 Jan 2017 11:23:26 +1300 Subject: [PATCH] core.5: Clarify that dumping program's initial CWD is root directory Signed-off-by: Michael Kerrisk --- man5/core.5 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man5/core.5 b/man5/core.5 index 6d3cb8f50..b191c1a2d 100644 --- a/man5/core.5 +++ b/man5/core.5 @@ -274,6 +274,14 @@ to find the right .I /proc/[pid] directory and probe/enter the crashing process's namespaces if needed. .IP * +The process starts with its current working directory +as the root directory. +If desired, it is possible change to the working directory of +the dumping process by employing the value provided by the +.I %P +specifier to change to the location of the dumping process via +.IR /proc/[pid]/cwd . +.IP * Command-line arguments can be supplied to the program (since Linux 2.6.24), delimited by white space (up to a total line length of 128 bytes).