Skip to contentSkip to conversation

Definition of orphaned process group missing

DISCUSSION [email protected] 2 participants 2 messages Sep 8, 2009 – Sep 20, 2009 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hi,

setpgid(2) and exit(3) use the term 'orphaned process group', but they don't define it.

And if I am not missing it, the term is not defined in a referenced man page, either.

Suggested fix: add the defintion of 'orphaned process group' to the 'right' place(s) (man-page).

Best regards
Georg Sauthoff
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello Georg,

Quoted 10 lines · On Tue, Sep 8, 2009 at 11:29 AM, <gsauthof-If1cxaH3S3JVgF+RW+Bo1SZEdBbF94EN@pu…

Hi,

setpgid(2) and exit(3) use the term 'orphaned process group', but they don't define it.

And if I am not missing it, the term is not defined in a referenced man page, either.

Suggested fix: add the defintion of 'orphaned process group' to the 'right' place(s) (man-page).

Thanks for your report. I made the following patches for man-pages- 3.23.

Cheers,

Michael

man2/setpgid.2 +6 -0
@@ -293,6 +293,12 @@ signal followed by a
 .B SIGCONT
 signal will be sent to each process
 in the newly orphaned process group.
+.\" exit.3 refers to the following text:
+An orphaned process group is one in which the parent of
+every member of process group is either itself also a member
+of the process group or is a member of a process group
+in a different session (see also
+.BR credentials (7)).
 .SH "SEE ALSO"
 .BR getuid (2),
 .BR setsid (2),
man3/exit.3 +4 -0
@@ -159,8 +159,12 @@ signal followed by a
 .B SIGCONT
 signal will be
 sent to each process in this process group.
+See
+.BR setpgid (2)
+for an explanation of orphaned process groups.
 .SH "SEE ALSO"
 .BR _exit (2),
+.BR setpgid (2),
 .BR wait (2),
 .BR atexit (3),
 .BR on_exit (3),
Signature · 8 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Watch my Linux system programming book progress to publication!
http://blog.man7.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html