dnsd: removed highly questionable setting of signals to SIG_IGN

This commit is contained in:
Denis Vlasenko 2009-04-12 04:20:22 +00:00
parent ddbf3bf35f
commit f8de411e24

View File

@ -488,17 +488,6 @@ int dnsd_main(int argc UNUSED_PARAM, char **argv)
conf_data = parse_conf_file(fileconf); 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); lsa = xdotted2sockaddr(listen_interface, port);
udps = xsocket(lsa->u.sa.sa_family, SOCK_DGRAM, 0); udps = xsocket(lsa->u.sa.sa_family, SOCK_DGRAM, 0);
xbind(udps, &lsa->u.sa, lsa->len); xbind(udps, &lsa->u.sa, lsa->len);