From: Denis Vlasenko Date: Sun, 12 Apr 2009 04:20:22 +0000 (-0000) Subject: dnsd: removed highly questionable setting of signals to SIG_IGN X-Git-Tag: 1_14_0~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8de411e2428b9c8878a8be3602f022812a3ab70;p=oweals%2Fbusybox.git dnsd: removed highly questionable setting of signals to SIG_IGN --- 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);