void rpcbind_abort() { #ifdef WARMSTART write_warmstart(); /* Dump yourself */ #endif abort(); }
/* * Catch the signal and die */ static void terminate(int dummy __unused) { close(rpcbindlockfd); #ifdef WARMSTART syslog(LOG_ERR, "rpcbind terminating on signal. Restart with \"rpcbind -w\""); write_warmstart(); /* Dump yourself */ #endif exit(2); }
/* * Catch the signal and die */ static void terminate(int dummy /*__unused*/) { close(rpcbindlockfd); unlink(_PATH_RPCBINDSOCK); unlink(RPCBINDDLOCK); #ifdef WARMSTART syslog(LOG_ERR, "rpcbind terminating on signal. Restart with \"rpcbind -w\""); write_warmstart(); /* Dump yourself */ #endif exit(2); }
/* * Catch the signal and die */ static void terminate(int dummy) { #ifdef WARMSTART syslog(LOG_ERR, "rpcbind terminating on signal. Restart with \"rpcbind -w\""); write_warmstart(); /* Dump yourself */ #endif #ifdef RPCBIND_RUMP exit(2); #else exit(EXIT_FAILURE); #endif }