mirror of https://github.com/mkerrisk/man-pages
setns.2: Specify kernel version on each CLONE_NEW* flag
And remove text on flags from VERSIONS. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
773f59eb02
commit
268a93cb30
15
man2/setns.2
15
man2/setns.2
|
@ -41,27 +41,27 @@ This argument can have one of the following values:
|
||||||
.BR 0
|
.BR 0
|
||||||
Allow any type of namespace to be joined.
|
Allow any type of namespace to be joined.
|
||||||
.TP
|
.TP
|
||||||
.BR CLONE_NEWIPC
|
.BR CLONE_NEWIPC " (since Linux 3.0)"
|
||||||
.I fd
|
.I fd
|
||||||
must refer to an IPC namespace.
|
must refer to an IPC namespace.
|
||||||
.TP
|
.TP
|
||||||
.BR CLONE_NEWNET
|
.BR CLONE_NEWNET " (since Linux 3.0)"
|
||||||
.I fd
|
.I fd
|
||||||
must refer to a network namespace.
|
must refer to a network namespace.
|
||||||
.TP
|
.TP
|
||||||
.BR CLONE_NEWNS
|
.BR CLONE_NEWNS " (since Linux 3.8)"
|
||||||
.I fd
|
.I fd
|
||||||
must refer to a mount namespace.
|
must refer to a mount namespace.
|
||||||
.TP
|
.TP
|
||||||
.BR CLONE_NEWPID
|
.BR CLONE_NEWPID " (since Linux 3.8)"
|
||||||
.I fd
|
.I fd
|
||||||
must refer to a PID namespace.
|
must refer to a PID namespace.
|
||||||
.TP
|
.TP
|
||||||
.BR CLONE_NEWUSER
|
.BR CLONE_NEWUSER " (since Linux 3.8)"
|
||||||
.I fd
|
.I fd
|
||||||
must refer to a user namespace.
|
must refer to a user namespace.
|
||||||
.TP
|
.TP
|
||||||
.BR CLONE_NEWUTS
|
.BR CLONE_NEWUTS " (since Linux 3.0)"
|
||||||
.I fd
|
.I fd
|
||||||
must refer to a UTS namespace.
|
must refer to a UTS namespace.
|
||||||
.PP
|
.PP
|
||||||
|
@ -148,8 +148,7 @@ for this operation.
|
||||||
The
|
The
|
||||||
.BR setns ()
|
.BR setns ()
|
||||||
system call first appeared in Linux in kernel 3.0;
|
system call first appeared in Linux in kernel 3.0;
|
||||||
library support was added to glibc in version 2.14;
|
library support was added to glibc in version 2.14.
|
||||||
Support for PID, user, and mount namespaces first appeared in Linux 3.8.
|
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
The
|
The
|
||||||
.BR setns ()
|
.BR setns ()
|
||||||
|
|
Loading…
Reference in New Issue