aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-09-13 20:07:12 -0700
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-09-14 21:29:47 -0700
commit130fbed6c8f65ca4f090dc2502a43dca43268952 (patch)
tree2993a29f13828267a65d05cd17a6fa5db4c84620
parent672e7505d6d2e05474d610ec4faa5a42d58b8a3b (diff)
downloadman-pages-130fbed6c8f65ca4f090dc2502a43dca43268952.tar.gz
unshare.2: Note flags implied by CLONE_THREAD and CLONE_VM
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/unshare.28
1 files changed, 8 insertions, 0 deletions
diff --git a/man2/unshare.2 b/man2/unshare.2
index 1c8f109be0..d61449c96f 100644
--- a/man2/unshare.2
+++ b/man2/unshare.2
@@ -251,6 +251,14 @@ can be specified in
if the caller is single threaded (i.e., it is not sharing
its address space with another process or thread).
In this case, these flags have no effect.
+(Note also that specifying
+.BR CLONE_THREAD
+automatically implies
+.BR CLONE_VM ,
+and specifying
+.BR CLONE_VM
+automatically implies
+.BR CLONE_SIGHAND .)
.\" As at 3.9, the following forced implications also apply,
.\" although the relevant flags are not yet implemented.
.\" If CLONE_THREAD is set force CLONE_VM.