mirror of git://git.suckless.org/sbase
add more info to unshare.1
This commit is contained in:
parent
67d3051f27
commit
4942308f86
15
unshare.1
15
unshare.1
|
@ -13,24 +13,31 @@ indicated via options.
|
||||||
\fB-m\fR
|
\fB-m\fR
|
||||||
Unshare the mount namespace, so that the calling process has a private
|
Unshare the mount namespace, so that the calling process has a private
|
||||||
copy of its namespace which is not shared with any other process.
|
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
|
.TP
|
||||||
\fB-u\fR
|
\fB-u\fR
|
||||||
Unshare the UTS IPC namespace, so that the calling process has a
|
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
|
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
|
.TP
|
||||||
\fB-i\fR
|
\fB-i\fR
|
||||||
Unshare the System V IPC namespace, so that the calling process has a
|
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
|
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
|
.TP
|
||||||
\fB-n\fR
|
\fB-n\fR
|
||||||
Unshare the network namespace, so that the calling process is moved
|
Unshare the network namespace, so that the calling process is moved
|
||||||
into a new network namespace which is not shared with any previously
|
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
|
.TP
|
||||||
\fB-p\fR
|
\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
|
.TP
|
||||||
\fB-U\fR
|
\fB-U\fR
|
||||||
The process will have a distinct set of UIDs, GIDs and capabilities.
|
The process will have a distinct set of UIDs, GIDs and capabilities.
|
||||||
|
.SH SEE ALSO
|
||||||
|
clone(2), unshare(2)
|
||||||
|
|
Loading…
Reference in New Issue