unshare.2: Give the reader a hint that unshare() works on processes or threads

See https://bugzilla.kernel.org/show_bug.cgi?id=59281

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-05-05 09:35:20 +02:00
parent 8ef021ea00
commit 15784e0ada
1 changed files with 3 additions and 3 deletions

View File

@ -49,15 +49,15 @@ _BSD_SOURCE || _SVID_SOURCE
.ad b
.SH DESCRIPTION
.BR unshare ()
allows a process to disassociate parts of its execution
context that are currently being shared with other processes.
allows a process (or thread) to disassociate parts of its execution
context that are currently being shared with other processes or threads).
Part of the execution context, such as the mount namespace, is shared
implicitly when a new process is created using
.BR fork (2)
or
.BR vfork (2),
while other parts, such as virtual memory, may be
shared by explicit request when creating a process using
shared by explicit request when creating a process or thread using
.BR clone (2).
The main use of