aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-01-30 11:23:26 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-01-30 11:30:03 +1300
commit9d8b225095506a4499c81aec94d8fa876e6ab85f (patch)
treed5d41ba027d56f92995a27be0c88538217b3fe3f
parent1c3aae54d23aaf6e5dcbe1790456c0c86ce46214 (diff)
downloadman-pages-9d8b225095506a4499c81aec94d8fa876e6ab85f.tar.gz
core.5: Clarify that dumping program's initial CWD is root directory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man5/core.58
1 files changed, 8 insertions, 0 deletions
diff --git a/man5/core.5 b/man5/core.5
index 6d3cb8f507..b191c1a2da 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).