diff --git a/man2/clone.2 b/man2/clone.2 index ceea50281..6e10fac6b 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -594,10 +594,19 @@ altogether in Linux 2.6.38. If .B CLONE_SYSVSEM is set, then the child and the calling process share -a single list of System\ V semaphore undo values (see +a single list of System V semaphore adjustment +.RI ( semadj ) +values (see .BR semop (2)). -If this flag is not set, then the child has a separate undo list, -which is initially empty. +In this case, the shared list accumulates +.I semadj +values across all processes sharing the list, +and semaphore adjustments are performed only when the last process +that is sharing the list terminates (or ceases sharing the list using +.BR unshare (2)). +If this flag is not set, then the child has a separate +.I semadj +list that is initially empty. .TP .BR CLONE_THREAD " (since Linux 2.4.0-test8)" If