/* * We got the hangup signal. * Re-read the configuration files. */ static void sig_hup(int sig) { sig = sig; /* -Wunused */ reset_signal(SIGHUP, sig_hup); radius_signal_self(RADIUS_SIGNAL_SELF_HUP); }
/* * We got a fatal signal. */ static void sig_fatal(int sig) { if (getpid() != radius_pid) _exit(sig); switch(sig) { case SIGTERM: radius_signal_self(RADIUS_SIGNAL_SELF_TERM); break; case SIGINT: #ifdef SIGQUIT case SIGQUIT: #endif if (debug_memory) { radius_signal_self(RADIUS_SIGNAL_SELF_TERM); break; } /* FALL-THROUGH */ default: _exit(sig); } }
/* * We got the hangup signal. * Re-read the configuration files. */ static void sig_hup(UNUSED int sig) { reset_signal(SIGHUP, sig_hup); radius_signal_self(RADIUS_SIGNAL_SELF_HUP); }