Lines Matching refs:SIGBUS
24 * exit normally following a SIGBUS, rather than triggering a crash report;
26 * that would trigger a SIGBUS. To avoid confusion, this is most easily done
33 /* Reset global error value when we see a SIGBUS */
34 if (sig == SIGBUS)
352 * Establish SIGBUS handler; will reset (disable itself) if it fires;
354 * raised the SIGBUS by modifying the contents of the (opaque to us)
360 if ((my_err = sigaction(SIGBUS, &my_sa, NULL)) != 0) {
366 my_err = -1; /* default to error out if we do NOT trigger a SIGBUS */
368 *my_addr = 'z'; /* should cause SIGBUS signal (we look for this at child termination within the parent) */
372 printf("Expected SIGBUS signal, got nothing!\n");
395 if ( !WIFSIGNALED( my_status ) || WTERMSIG( my_status ) != SIGBUS) {