From 15784e0adad01d9f2f312645e73920c39063daa0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 5 May 2015 09:35:20 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- man2/unshare.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/unshare.2 b/man2/unshare.2 index 1e99c126f..42b2d0e51 100644 --- a/man2/unshare.2 +++ b/man2/unshare.2 @@ -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