projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddbf3bf
)
dnsd: removed highly questionable setting of signals to SIG_IGN
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 12 Apr 2009 04:20:22 +0000
(
04:20
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 12 Apr 2009 04:20:22 +0000
(
04:20
-0000)
networking/dnsd.c
patch
|
blob
|
history
diff --git
a/networking/dnsd.c
b/networking/dnsd.c
index 4f980dccd1d05e968aa3da94e0bcd2231159cd34..78054ed85005513801b2d55707bfad1ea23a295c 100644
(file)
--- a/
networking/dnsd.c
+++ b/
networking/dnsd.c
@@
-488,17
+488,6
@@
int dnsd_main(int argc UNUSED_PARAM, char **argv)
conf_data = parse_conf_file(fileconf);
- bb_signals(0
- /* why? + (1 << SIGPIPE) */
- + (1 << SIGHUP)
-#ifdef SIGTSTP
- + (1 << SIGTSTP)
-#endif
-#ifdef SIGURG
- + (1 << SIGURG)
-#endif
- , SIG_IGN);
-
lsa = xdotted2sockaddr(listen_interface, port);
udps = xsocket(lsa->u.sa.sa_family, SOCK_DGRAM, 0);
xbind(udps, &lsa->u.sa, lsa->len);