|
@@ -872,6 +872,10 @@ static void catch(int the_signal) {
|
|
|
case SIGCHLD:
|
|
|
please_reap_children = 1;
|
|
|
break;
|
|
|
+#ifdef SIGXFSZ
|
|
|
+ case SIGXFSZ:
|
|
|
+ break;
|
|
|
+#endif
|
|
|
default:
|
|
|
log(LOG_WARN,"Caught signal %d that we can't handle??", the_signal);
|
|
|
tor_cleanup();
|
|
@@ -983,6 +987,9 @@ void handle_signals(int is_parent)
|
|
|
sigaction(SIGPIPE, &action, NULL);
|
|
|
sigaction(SIGUSR1, &action, NULL);
|
|
|
sigaction(SIGHUP, &action, NULL);
|
|
|
+#ifdef SIGXFSZ
|
|
|
+ sigaction(SIGXFSZ, &action, NULL);
|
|
|
+#endif
|
|
|
if(is_parent)
|
|
|
sigaction(SIGCHLD, &action, NULL);
|
|
|
#endif
|