git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pass through exec
[exim.git]
/
src
/
src
/
smtp_in.c
diff --git
a/src/src/smtp_in.c
b/src/src/smtp_in.c
index 6062e8118739b8a5c70efc335cfaa5d625ae4de3..b5f44f5482d4cc3922d1fab25c88eeb859b014ae 100644
(file)
--- a/
src/src/smtp_in.c
+++ b/
src/src/smtp_in.c
@@
-5759,7
+5759,7
@@
while (done <= 0)
oldsignal = signal(SIGCHLD, SIG_IGN);
oldsignal = signal(SIGCHLD, SIG_IGN);
- if ((pid =
fork(
)) == 0)
+ if ((pid =
exim_fork(US"etrn command"
)) == 0)
{
smtp_input = FALSE; /* This process is not associated with the */
(void)fclose(smtp_in); /* SMTP call any more. */
{
smtp_input = FALSE; /* This process is not associated with the */
(void)fclose(smtp_in); /* SMTP call any more. */
@@
-5770,7
+5770,8
@@
while (done <= 0)
/* If not serializing, do the exec right away. Otherwise, fork down
into another process. */
/* If not serializing, do the exec right away. Otherwise, fork down
into another process. */
- if (!smtp_etrn_serialize || (pid = fork()) == 0)
+ if ( !smtp_etrn_serialize
+ || (pid = exim_fork(US"etrn serialised command")) == 0)
{
DEBUG(D_exec) debug_print_argv(argv);
exim_nullstd(); /* Ensure std{in,out,err} exist */
{
DEBUG(D_exec) debug_print_argv(argv);
exim_nullstd(); /* Ensure std{in,out,err} exist */
@@
-5799,7
+5800,7
@@
while (done <= 0)
}
enq_end(etrn_serialize_key);
}
enq_end(etrn_serialize_key);
- exim_underbar_exit(EXIT_SUCCESS);
+ exim_underbar_exit(EXIT_SUCCESS
, US"etrn-serialize-interproc"
);
}
/* Back in the top level SMTP process. Check that we started a subprocess
}
/* Back in the top level SMTP process. Check that we started a subprocess