mirror of https://github.com/mkerrisk/man-pages
proc.5: Document /proc/[pid]/ns/
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e4698850d1
commit
b4a185e5cc
44
man5/proc.5
44
man5/proc.5
|
@ -476,6 +476,50 @@ information via this field.
|
|||
.IP
|
||||
This file is only readable by the owner of the process.
|
||||
.TP
|
||||
.IR /proc/[pid]/ns/ " (since Linux 3.0)"
|
||||
This is a subdirectory containing one entry for each namespace that
|
||||
supports being manipulated by
|
||||
.BR setns(2).
|
||||
.TP
|
||||
.IR /proc/[pid]/ns/ipc " (since Linux 3.0)"
|
||||
Bind mounting this file to somewhere else in the filesystem keeps
|
||||
the ipc namespace of the process specified by
|
||||
.I pid
|
||||
alive even if all of the processes currently in that ipc namespace exit.
|
||||
|
||||
Opening this file returnes a file handle for the ipc namespace
|
||||
of the process specified by
|
||||
.I pid,
|
||||
that keeps the ipc namespace alive while the file is open and that can
|
||||
be passed to
|
||||
.BR setns(2).
|
||||
.TP
|
||||
.IR /proc/[pid]/ns/net " (since Linux 3.0)"
|
||||
Bind mounting this file to somewhere else in the filesystem keeps
|
||||
the network namespace of the process specified by
|
||||
.I pid
|
||||
alive even if all of the processes currently in that network namespace exit.
|
||||
|
||||
Opening this file returnes a file handle for the network namespace
|
||||
of the process specified by
|
||||
.I pid,
|
||||
that keeps the network namespace alive while the file is open and that can
|
||||
be passed to
|
||||
.BR setns(2).
|
||||
.TP
|
||||
.IR /proc/[pid]/ns/uts " (since Linux 3.0)"
|
||||
Bind mounting this file to somewhere else in the filesystem keeps
|
||||
the uts namespace of the process specified by
|
||||
.I pid
|
||||
alive even if all of the processes currently in that uts namespace exit.
|
||||
|
||||
Opening this file returnes a file handle for the uts namespace
|
||||
of the process specified by
|
||||
.I pid,
|
||||
that keeps the uts namespace alive while the file is open and that can
|
||||
be passed to
|
||||
.BR setns(2).
|
||||
.TP
|
||||
.IR /proc/[pid]/numa_maps " (since Linux 2.6.14)"
|
||||
See
|
||||
.BR numa (7).
|
||||
|
|
Loading…
Reference in New Issue