FreeBSD/contrib/openbsm/bin/auditd/auditd_fbsd.c
/*
 * When we get a signal, we are often not at a clean point.  So, little can
 * be done in the signal handler itself.  Instead,  we send a message to the
 * main servicing loop to do proper handling from a non-signal-handler
 * context.
 */
When we get a signal, we are often not at a clean point.  So, little can
be done in the signal handler itself.  Instead,  we send a message to the
main servicing loop to do proper handling from a non-signal-handler
context.
When we get a signal we are often not at a clean point . So little can be done in the signal handler itself . Instead we send a message to the main servicing loop to do proper handling from a non - signal - handler context .
void
auditd_relay_signal(int signal)
{
        if (signal == SIGHUP)
                sighups++;
        if (signal == SIGTERM)
                sigterms++;
        if (signal == SIGCHLD)
                sigchlds++;
	if (signal == SIGALRM)
		sigalrms++;
}
void auditd_relay_signal ( int signal ) { if ( signal == SIGHUP ) sighups ++ ; if ( signal == SIGTERM ) sigterms ++ ; if ( signal == SIGCHLD ) sigchlds ++ ; if ( signal == SIGALRM ) sigalrms ++ ; }
When we get a signal, we are often not at a clean point.
When we get a signal we are often not at a clean point .