mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
47832b6dfc
commit
5597d425e9
|
@ -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.
|
||||
.\"
|
||||
.\" ============================================================
|
||||
.\"
|
||||
|
|
Loading…
Reference in New Issue