diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-03-01 10:51:13 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-09-13 20:16:01 -0700 |
| commit | 5597d425e94ac19c13e8954f9df6e8720e70de1b (patch) | |
| tree | eac5b7825a10caa2e21dc3521341a89e47069613 /man7/pid_namespaces.7 | |
| parent | 47832b6dfcbab9c86b564dc8275cd8032e60aab4 (diff) | |
| download | man-pages-5597d425e94ac19c13e8954f9df6e8720e70de1b.tar.gz | |
pid_namespaces.7: Explain use for readlink() from /proc/self
Reported-by: Rob Landley <rob@landley.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/pid_namespaces.7')
| -rw-r--r-- | man7/pid_namespaces.7 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/man7/pid_namespaces.7 b/man7/pid_namespaces.7 index 5ef19a9265..294bad56b0 100644 --- a/man7/pid_namespaces.7 +++ b/man7/pid_namespaces.7 @@ -270,6 +270,8 @@ on the path .I /proc/self yields the process ID of the caller in the PID namespace of the procfs mount (i.e., the PID namespace of the process that mounted the procfs). +This can be useful for introspection purposes, +when a process wants to discover its PID in other namespaces. .\" .\" ============================================================ .\" |
