# patch-src_libexec_poudriere_jexecd_jexecd.c | 26 ++++++++++++++++++++++++++ # 1 file changed, 26 insertions(+) # svn status A files/patch-src_libexec_poudriere_jexecd_jexecd.c Index: files/patch-src_libexec_poudriere_jexecd_jexecd.c =================================================================== --- files/patch-src_libexec_poudriere_jexecd_jexecd.c (nonexistent) +++ files/patch-src_libexec_poudriere_jexecd_jexecd.c (working copy) @@ -0,0 +1,26 @@ +--- src/libexec/poudriere/jexecd/jexecd.c.orig 2015-11-30 18:43:36 UTC ++++ src/libexec/poudriere/jexecd/jexecd.c +@@ -171,6 +171,7 @@ client_read(struct client *cl) + if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) + == -1) + err(EXIT_FAILURE, "procctl(PROC_REAP_ACQUIRE)"); ++#endif + if ((pid = fork()) != 0) { + int status; + +@@ -181,11 +182,14 @@ client_read(struct client *cl) + if (waitpid(pid, &status, 0) < 0) + err(EXIT_FAILURE, "waitpid"); + /* Now kill all of its descendants. */ ++#ifdef PROC_REAP_KILL + killall(SIGKILL); ++#else ++ killpg(pid, SIGKILL); ++#endif + /* Return the original status back to jexecd master. */ + exit(WEXITSTATUS(status)); + } +-#endif + + log_as(username); + setsid(); Property changes on: files/patch-src_libexec_poudriere_jexecd_jexecd.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property