reworked function ignore mechanism to not-report whitelist

rather than overriding functions
This commit is contained in:
Martin Willi
2006-06-20 10:05:56 +00:00
parent 13b8fa0e8d
commit 986d23bd6e
2 changed files with 48 additions and 235 deletions
+2 -2
View File
@@ -156,7 +156,7 @@ static void kill_daemon(private_daemon_t *this, char *reason)
else
{
this->logger->log(this->logger, CONTROL, "sending SIGTERM to ourself", reason);
kill(0, SIGTERM);
raise(SIGTERM);
/* thread must die, since he produced a ciritcal failure and can't continue */
pthread_exit(NULL);
}
@@ -290,7 +290,7 @@ void signal_handler(int signal)
}
free (strings);
logger->log(logger, ERROR, "Killing ourself hard after SIGSEGV");
kill(getpid(), SIGKILL);
raise(SIGKILL);
}
/**