add more info to unshare.1

This commit is contained in:
dwts 2014-04-14 00:13:58 +03:00 committed by sin
parent 67d3051f27
commit 4942308f86
1 changed files with 11 additions and 4 deletions

View File

@ -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)