mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
dnsd: removed highly questionable setting of signals to SIG_IGN
This commit is contained in:
parent
ddbf3bf35f
commit
f8de411e24
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user