commit 4942308f86caab285e579197208489d4f4aff262
parent 67d3051f27efacaac7ed394b5834459b137c74bb
Author: dwts <mr.dwts@gmail.com>
Date: Mon, 14 Apr 2014 00:13:58 +0300
add more info to unshare.1
Diffstat:
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/unshare.1 b/unshare.1
@@ -13,24 +13,31 @@ indicated via options.
\fB-m\fR
Unshare the mount namespace, so that the calling process has a private
copy of its namespace which is not shared with any other process.
+This flag has the same effect as the \fBclone(2) CLONE_NEWNS \fRflag.
.TP
\fB-u\fR
Unshare the UTS IPC namespace, so that the calling process has a
private copy of the UTS namespace which is not shared with any other
-process.
+process. This flag has the same effect as the \fBclone(2) CLONE_NEWUTS
+\fRflag.
.TP
\fB-i\fR
Unshare the System V IPC namespace, so that the calling process has a
private copy of the System V IPC namespace which is not shared with
-any other process.
+any other process. This flag has the same effect as the \fBclone(2)
+CLONE_NEWIPC \fRflag
.TP
\fB-n\fR
Unshare the network namespace, so that the calling process is moved
into a new network namespace which is not shared with any previously
-existing process.
+existing process. This flag has the same effect as the \fBclone(2)
+CLONE_NEWNET \fRflag.
.TP
\fB-p\fR
-Create the process in a new PID namespace.
+Create the process in a new PID namespace. This flag has the same
+effect as the \fBclone(2) CLONE_NEWPID \fRflag.
.TP
\fB-U\fR
The process will have a distinct set of UIDs, GIDs and capabilities.
+.SH SEE ALSO
+clone(2), unshare(2)