namespaces.7: Add time namespaces information

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-03 14:22:30 +02:00
parent 0953c1b4b3
commit 19e8f797fc
1 changed files with 22 additions and 0 deletions

View File

@ -66,6 +66,11 @@ stacks, ports, etc.
T} T}
Mount CLONE_NEWNS \fBmount_namespaces\fP(7) Mount points Mount CLONE_NEWNS \fBmount_namespaces\fP(7) Mount points
PID CLONE_NEWPID \fBpid_namespaces\fP(7) Process IDs PID CLONE_NEWPID \fBpid_namespaces\fP(7) Process IDs
Time CLONE_NEWTIME \fBtime_namespaces\fP(7) T{
Boot and monotonic
.br
clocks
T}
User CLONE_NEWUSER \fBuser_namespaces\fP(7) User and group IDs User CLONE_NEWUSER \fBuser_namespaces\fP(7) User and group IDs
UTS CLONE_NEWUTS \fButs_namespaces\fP(7) T{ UTS CLONE_NEWUTS \fButs_namespaces\fP(7) T{
Hostname and NIS Hostname and NIS
@ -157,6 +162,8 @@ lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 mnt \-> mnt:[4026531840]
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 net \-> net:[4026531969] lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 net \-> net:[4026531969]
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid \-> pid:[4026531836] lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid \-> pid:[4026531836]
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid_for_children \-> pid:[4026531834] lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid_for_children \-> pid:[4026531834]
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 13:21 time -> time:[4026531834]
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 13:21 time_for_children -> time:[4026531834]
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 user \-> user:[4026531837] lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 user \-> user:[4026531837]
lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 uts \-> uts:[4026531838] lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 uts \-> uts:[4026531838]
.EE .EE
@ -243,6 +250,21 @@ is created in the namespace.
.BR readlink (2) .BR readlink (2)
of the symbolic link will return an empty buffer.) of the symbolic link will return an empty buffer.)
.TP .TP
.IR /proc/[pid]/ns/time " (since Linux 5.6)"
This file is a handle for the time namespace of the process.
.TP
.IR /proc/[pid]/ns/time_for_children " (since Linux 5.6)"
This file is a handle for the time namespace of
child processes created by this process.
This can change as a consequence of calls to
.BR unshare (2)
and
.BR setns (2)
(see
.BR time_namespaces (7)),
so the file may differ from
.IR /proc/[pid]/ns/time .
.TP
.IR /proc/[pid]/ns/user " (since Linux 3.8)" .IR /proc/[pid]/ns/user " (since Linux 3.8)"
.\" commit cde1975bc242f3e1072bde623ef378e547b73f91 .\" commit cde1975bc242f3e1072bde623ef378e547b73f91
This file is a handle for the user namespace of the process. This file is a handle for the user namespace of the process.