git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b4ae6
)
s4:libcli/resolve/dns_ex: make use of double_fork() to avoid SIGCHLD problems.
author
Stefan Metzmacher
<metze@samba.org>
Tue, 26 Oct 2010 22:37:45 +0000
(
00:37
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 4 Jun 2019 11:15:16 +0000
(13:15 +0200)
metze
source4/libcli/resolve/dns_ex.c
patch
|
blob
|
history
diff --git
a/source4/libcli/resolve/dns_ex.c
b/source4/libcli/resolve/dns_ex.c
index 86eeb5f5921eef2a166eb26561a8e868b2921811..5084116ff10b33b03e2385968fb6fa2c3d1cfcc5 100644
(file)
--- a/
source4/libcli/resolve/dns_ex.c
+++ b/
source4/libcli/resolve/dns_ex.c
@@
-612,7
+612,7
@@
struct composite_context *resolve_name_dns_ex_send(TALLOC_CTX *mem_ctx,
}
tevent_fd_set_auto_close(state->fde);
- state->child =
fork(
);
+ state->child =
double_fork(NULL
);
if (state->child == (pid_t)-1) {
composite_error(c, map_nt_error_from_unix_common(errno));
return c;