]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
unshare.2: Give the reader a hint that unshare() works on processes or threads
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 5 May 2015 07:35:20 +0000 (09:35 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 5 May 2015 10:01:40 +0000 (12:01 +0200)
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>
man2/unshare.2

index 1e99c126f02f7ca67c1a5970622c00452f16053c..42b2d0e51e93c943940a0114ef77581747bb4d50 100644 (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