mike-jumper commented on code in PR #617:
URL: https://github.com/apache/guacamole-server/pull/617#discussion_r2383024239
##########
src/guacd/daemon.c:
##########
@@ -508,6 +509,9 @@ int main(int argc, char* argv[]) {
sigaction(SIGINT, &signal_stop_action, NULL);
sigaction(SIGTERM, &signal_stop_action, NULL);
+ /* Adopt any orphan processes from clients so we can properly terminate
and reap */
+ prctl(PR_SET_CHILD_SUBREAPER, 1);
Review Comment:
Is this specific to Linux (ie: not part of a standard like POSIX)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]