aboutsummaryrefslogtreecommitdiff
path: root/networking/dnsd.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-12 04:20:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-12 04:20:22 +0000
commitf8de411e2428b9c8878a8be3602f022812a3ab70 (patch)
tree10b712c589a32e4daf09491d11c776c106ae733d /networking/dnsd.c
parentddbf3bf35ffd70e7105f4cf8fe8aa81b3c7667e2 (diff)
downloadbusybox-f8de411e2428b9c8878a8be3602f022812a3ab70.tar.gz
dnsd: removed highly questionable setting of signals to SIG_IGN
Diffstat (limited to 'networking/dnsd.c')
-rw-r--r--networking/dnsd.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 4f980dccd..78054ed85 100644
--- 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);