Lines Matching refs:SIGSEGV
61 pthread_key_t jmp_key; /* jmp_ctx to return from SIGSEGV handler */
191 * Signal handler for SIGSEGV to return to the jmp ctx, to verify
192 * that SIGSEGV happened without crashing.
205 * Verify that reading *p triggers SIGSEGV. Fails test nonfatally
206 * if SIGSEGV doesn't happen.
221 RL(sigaction(SIGSEGV, &act, &oact));
223 v = *p; /* trigger SIGSEGV */
224 atf_tc_fail_nonfatal("failed to trigger SIGSEGV at %p", p);
226 /* return from SIGSEGV handler */
229 RL(sigaction(SIGSEGV, &oact, NULL));
238 * Verify that reading *p does not trigger SIGSEGV. Fails test
239 * nonfatally if SIGSEGV happens.
254 RL(sigaction(SIGSEGV, &act, &oact));
256 v = *p; /* better not trigger SIGSEGV */
258 /* return from SIGSEGV handler */
259 atf_tc_fail_nonfatal("spuriously triggered SIGSEGV at %p", p);
262 RL(sigaction(SIGSEGV, &oact, NULL));