← Commit list

f8de411e2

Denis Vlasenko
Denis Vlasenko
2009-04-12
FAILED Duration: 33s

Subject

dnsd: removed highly questionable setting of signals to SIG_IGN

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/dnsd.c+0 -11
@@ -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);