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:
Michael Kerrisk 2013-01-16 02:11:01 +01:00
parent 773f59eb02
commit 268a93cb30
1 changed files with 7 additions and 8 deletions

View File

@ -41,27 +41,27 @@ This argument can have one of the following values:
.BR 0
Allow any type of namespace to be joined.
.TP
.BR CLONE_NEWIPC
.BR CLONE_NEWIPC " (since Linux 3.0)"
.I fd
must refer to an IPC namespace.
.TP
.BR CLONE_NEWNET
.BR CLONE_NEWNET " (since Linux 3.0)"
.I fd
must refer to a network namespace.
.TP
.BR CLONE_NEWNS
.BR CLONE_NEWNS " (since Linux 3.8)"
.I fd
must refer to a mount namespace.
.TP
.BR CLONE_NEWPID
.BR CLONE_NEWPID " (since Linux 3.8)"
.I fd
must refer to a PID namespace.
.TP
.BR CLONE_NEWUSER
.BR CLONE_NEWUSER " (since Linux 3.8)"
.I fd
must refer to a user namespace.
.TP
.BR CLONE_NEWUTS
.BR CLONE_NEWUTS " (since Linux 3.0)"
.I fd
must refer to a UTS namespace.
.PP
@ -148,8 +148,7 @@ for this operation.
The
.BR setns ()
system call first appeared in Linux in kernel 3.0;
library support was added to glibc in version 2.14;
Support for PID, user, and mount namespaces first appeared in Linux 3.8.
library support was added to glibc in version 2.14.
.SH CONFORMING TO
The
.BR setns ()