Searched refs:SIGSEGV (Results 76 - 100 of 258) sorted by relevance

1234567891011

/netbsd-current/sys/arch/vax/vax/
H A Dtrap.c156 sig = SIGSEGV;
257 sig = SIGSEGV;
261 sig = SIGSEGV;
333 if ((sig == SIGSEGV || sig == SIGILL)
/netbsd-current/sys/arch/sh3/sh3/
H A Dexception.c208 ksi.ksi_signo = SIGSEGV;
327 ksi.ksi_signo = SIGSEGV;
432 ksi.ksi_signo = SIGSEGV;
436 ksi.ksi_signo = SIGSEGV;
/netbsd-current/tests/lib/libpthread/
H A Dt_stack.c61 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,
[all...]
/netbsd-current/external/lgpl3/gmp/dist/tests/rand/
H A Dfindlc.c45 if (SIGSEGV == sig) /* remove SEGV handler */
46 signal (SIGSEGV, SIG_DFL);
148 if (SIG_ERR == signal (SIGSEGV, sh_status))
150 perror ("signal (SIGSEGV)");
/netbsd-current/external/gpl3/gdb/dist/gdb/nat/
H A Dlinux-ptrace.c209 /* We may get SIGSEGV due to missing PROT_EXEC of the return_address. */
210 if (WSTOPSIG (status) != SIGTRAP && WSTOPSIG (status) != SIGSEGV)
213 "WSTOPSIG %d is neither SIGTRAP nor SIGSEGV!"),
242 /* We may get SIGSEGV due to missing PROT_EXEC of the RETURN_ADDRESS page. */
243 if (WSTOPSIG (status) == SIGSEGV && pc == return_address)
444 /* SIGILL and SIGSEGV are also treated as traps in case a
447 || WSTOPSIG (wstat) == SIGSEGV));
H A Damd64-linux-siginfo.c96 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
185 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
252 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
337 && to->si_signo == SIGSEGV)
363 case SIGSEGV:
423 case SIGSEGV:
489 case SIGSEGV:
553 case SIGSEGV:
H A Daarch64-linux.c142 case SIGSEGV:
200 case SIGSEGV:
/netbsd-current/sys/arch/powerpc/powerpc/
H A Dkgdb_machdep.c198 return SIGSEGV;
211 return SIGSEGV;
238 return SIGSEGV;
/netbsd-current/sys/arch/aarch64/aarch64/
H A Dfault.c255 do_trapsignal(l, SIGSEGV, SEGV_ACCERR,
263 do_trapsignal(l, SIGSEGV, SEGV_MAPERR,
278 do_trapsignal(l, SIGSEGV, SEGV_MAPERR,
/netbsd-current/tests/lib/libc/sys/
H A Dt_mmap.c342 * If we catch a SIGSEGV, all works as expected.
351 ATF_REQUIRE(signal(SIGSEGV, map_sighandler) != SIG_ERR);
358 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV);
379 * the access should generate SIGSEGV.
401 ATF_REQUIRE(signal(SIGSEGV, map_sighandler) != SIG_ERR);
408 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV);
557 ATF_REQUIRE(signal(SIGSEGV, map_sighandler) != SIG_ERR);
574 if (WEXITSTATUS(sta) == SIGSEGV)
575 atf_tc_fail("child process got SIGSEGV instead of SIGBUS");
/netbsd-current/external/gpl3/gdb.old/dist/gdb/nat/
H A Dlinux-ptrace.c209 /* We may get SIGSEGV due to missing PROT_EXEC of the return_address. */
210 if (WSTOPSIG (status) != SIGTRAP && WSTOPSIG (status) != SIGSEGV)
213 "WSTOPSIG %d is neither SIGTRAP nor SIGSEGV!"),
242 /* We may get SIGSEGV due to missing PROT_EXEC of the RETURN_ADDRESS page. */
243 if (WSTOPSIG (status) == SIGSEGV && pc == return_address)
612 /* SIGILL and SIGSEGV are also treated as traps in case a
615 || WSTOPSIG (wstat) == SIGSEGV));
H A Damd64-linux-siginfo.c96 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
185 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
252 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
346 case SIGSEGV:
406 case SIGSEGV:
472 case SIGSEGV:
536 case SIGSEGV:
H A Daarch64-linux.c142 case SIGSEGV:
200 case SIGSEGV:
/netbsd-current/sys/arch/ia64/ia64/
H A Dtrap.c512 sig = SIGSEGV;
535 sig = SIGSEGV;
599 sig = (error == EACCES) ? SIGBUS : SIGSEGV;
/netbsd-current/external/gpl2/diffutils/dist/lib/
H A Dc-stack.c99 /* The SIGSEGV handler. */
202 return sigaction (SIGSEGV, &act, 0);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerUtilPosix.cpp94 SetSigaction(SIGSEGV, CrashHandler);
/netbsd-current/external/ibm-public/postfix/dist/src/master/
H A Dmaster_sig.c22 /* Receipt of SIGINT, SIGQUIT, SIGSEGV, SIGILL, or SIGTERM
238 SIGINT, SIGQUIT, SIGILL, SIGBUS, SIGSEGV, SIGTERM,
/netbsd-current/sys/arch/arm/arm32/
H A Dkgdb_machdep.c78 return(SIGSEGV);
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_shell.c308 #ifdef SIGSEGV
309 { SIGSEGV, "Segmentation fault" },
/netbsd-current/external/gpl3/gcc/dist/libiberty/
H A Dstrsignal.c115 #if defined (SIGSEGV)
116 ENTRY(SIGSEGV, "SIGSEGV", "Segmentation fault"),
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/
H A Dstrsignal.c115 #if defined (SIGSEGV)
116 ENTRY(SIGSEGV, "SIGSEGV", "Segmentation fault"),
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/
H A Dstrsignal.c115 #if defined (SIGSEGV)
116 ENTRY(SIGSEGV, "SIGSEGV", "Segmentation fault"),
/netbsd-current/external/gpl3/binutils/dist/libiberty/
H A Dstrsignal.c115 #if defined (SIGSEGV)
116 ENTRY(SIGSEGV, "SIGSEGV", "Segmentation fault"),
/netbsd-current/external/gpl3/gdb.old/dist/gas/
H A Dmessages.c321 /* Handler for fatal signals, such as SIGSEGV. */
337 #ifdef SIGSEGV
338 signal (SIGSEGV, signal_crash);
/netbsd-current/external/gpl3/gdb/dist/libiberty/
H A Dstrsignal.c115 #if defined (SIGSEGV)
116 ENTRY(SIGSEGV, "SIGSEGV", "Segmentation fault"),

Completed in 197 milliseconds

1234567891011