Example #1
0
void
rpcbind_abort()
{
#ifdef WARMSTART
	write_warmstart();	/* Dump yourself */
#endif
	abort();
}
Example #2
0
/*
 * 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);
}
Example #3
0
/*
 * 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);
}
Example #4
0
/*
 * 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
}