sschiffli commented on code in PR #617:
URL: https://github.com/apache/guacamole-server/pull/617#discussion_r2383106919


##########
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:
   Correct, not a POSIX standard. I guess I need to add AC_CHECK_FUNCS([prctl]) 
check and #ifdef around this?



-- 
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]

Reply via email to