Home
last modified time | relevance | path

Searched refs:SIGSEGV (Results 1 – 25 of 255) sorted by relevance

1234567891011

/openbmc/linux/arch/arm/mm/
H A Dfsr-2level.c7 { do_bad, SIGSEGV, 0, "vector exception" },
14 { do_page_fault, SIGSEGV, SEGV_MAPERR, "page translation fault" },
16 { do_bad, SIGSEGV, SEGV_ACCERR, "section domain fault" },
18 { do_bad, SIGSEGV, SEGV_ACCERR, "page domain fault" },
20 { do_sect_fault, SIGSEGV, SEGV_ACCERR, "section permission fault" },
22 { do_page_fault, SIGSEGV, SEGV_ACCERR, "page permission fault" },
50 { do_bad, SIGSEGV, SEGV_ACCERR, "section access flag fault" },
53 { do_bad, SIGSEGV, SEGV_ACCERR, "page access flag fault" },
54 { do_page_fault, SIGSEGV, SEGV_MAPERR, "page translation fault" },
56 { do_bad, SIGSEGV, SEGV_ACCERR, "section domain fault" },
[all …]
H A Dfsr-3level.c8 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 1 translation fault" },
9 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 2 translation fault" },
10 { do_page_fault, SIGSEGV, SEGV_MAPERR, "level 3 translation fault" },
12 { do_bad, SIGSEGV, SEGV_ACCERR, "level 1 access flag fault" },
13 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" },
14 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 access flag fault" },
16 { do_bad, SIGSEGV, SEGV_ACCERR, "level 1 permission fault" },
17 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 permission fault" },
18 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 permission fault" },
H A Dfault.c184 if (((user_debug & UDBG_SEGV) && (sig == SIGSEGV)) || in __do_user_fault()
194 if ((sig == SIGSEGV) && ((addr & PAGE_MASK) == 0xffff0000)) in __do_user_fault()
216 __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area()
356 sig = SIGSEGV; in do_page_fault()
592 hook_fault_code(4, do_translation_fault, SIGSEGV, SEGV_MAPERR, in exceptions_init()
601 hook_fault_code(3, do_bad, SIGSEGV, SEGV_MAPERR, in exceptions_init()
603 hook_fault_code(6, do_bad, SIGSEGV, SEGV_MAPERR, in exceptions_init()
/openbmc/linux/tools/perf/tests/
H A Dperf-hooks.c13 signal(SIGSEGV, SIG_DFL); in sigsegv_handler()
14 raise(SIGSEGV); in sigsegv_handler()
26 raise(SIGSEGV); in the_hook()
33 signal(SIGSEGV, sigsegv_handler); in test__perf_hooks()
/openbmc/linux/tools/testing/selftests/x86/
H A Dmov_ss_trap.c110 [SIGSEGV] = "SIGSEGV",
173 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
178 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
195 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
201 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
212 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
257 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND | SA_ONSTACK); in main()
273 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
H A Diopl.c57 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_outb()
65 clearhandler(SIGSEGV); in try_outb()
96 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_cli()
109 clearhandler(SIGSEGV); in try_cli()
116 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_sti()
129 clearhandler(SIGSEGV); in try_sti()
H A Dtest_shadow_stack.c225 if (sigaction(SIGSEGV, &sa, NULL)) in test_shstk_violation()
235 signal(SIGSEGV, SIG_DFL); in test_shstk_violation()
323 if (sigaction(SIGSEGV, &sa, NULL)) in test_gup()
391 signal(SIGSEGV, SIG_DFL); in test_gup()
404 if (sigaction(SIGSEGV, &sa, NULL)) in test_mprotect()
445 signal(SIGSEGV, SIG_DFL); in test_mprotect()
492 if (sigaction(SIGSEGV, &sa, NULL)) in test_userfaultfd()
528 signal(SIGSEGV, SIG_DFL); in test_userfaultfd()
536 signal(SIGSEGV, SIG_DFL); in test_userfaultfd()
659 if (sigaction(SIGSEGV, &sa, NULL)) in test_32bit()
[all …]
H A Dsingle_step_syscall.c92 [SIGSEGV] = "SIGSEGV",
217 sethandler(SIGSEGV, print_and_longjmp, in main()
231 clearhandler(SIGSEGV); in main()
/openbmc/qemu/tests/tcg/hexagon/
H A Dhex_sigsegv.c52 check32(sig, SIGSEGV); in sig_segv()
65 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
79 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
H A Dmem_noshuf_exception.c61 check32(sig, SIGSEGV); in sig_segv()
77 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
91 chk_error(sigaction(SIGSEGV, &act, NULL)); in main()
/openbmc/linux/arch/powerpc/mm/
H A Dfault.c62 return SIGSEGV; in __bad_area_nosemaphore()
64 _exception(SIGSEGV, regs, si_code, address); in __bad_area_nosemaphore()
120 return SIGSEGV; in bad_access_pkey()
177 return SIGSEGV; in mm_fault_error()
440 return SIGSEGV; in ___do_page_fault()
655 bad_page_fault(regs, SIGSEGV); in DEFINE_INTERRUPT_HANDLER()
671 _exception(SIGSEGV, regs, SEGV_BNDERR, regs->dar); in DEFINE_INTERRUPT_HANDLER()
673 bad_page_fault(regs, SIGSEGV); in DEFINE_INTERRUPT_HANDLER()
/openbmc/linux/arch/ia64/kernel/
H A Dtraps.c69 if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) in die()
88 make_task_dead(SIGSEGV); in die()
128 sig = SIGSEGV; code = SEGV_MAPERR; in ia64_bad_break()
132 sig = SIGSEGV; code = BUS_ADRALN; in ia64_bad_break()
156 sig = SIGSEGV; code = __SEGV_PSTKOVF; in ia64_bad_break()
475 sig = SIGSEGV; in ia64_fault()
592 force_sig(SIGSEGV); in ia64_fault()
599 force_sig(SIGSEGV); in ia64_fault()
/openbmc/linux/arch/microblaze/mm/
H A Dfault.c102 _exception(SIGSEGV, regs, code, address); in do_page_fault()
119 die("Weird page fault", regs, SIGSEGV); in do_page_fault()
273 _exception(SIGSEGV, regs, code, address); in do_page_fault()
277 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
/openbmc/linux/arch/mips/kernel/
H A Dmips-r2-to-r6-emul.c273 return SIGSEGV; in jr_func()
1130 err = SIGSEGV; in mipsr2_decoder()
1210 err = SIGSEGV; in mipsr2_decoder()
1283 err = SIGSEGV; in mipsr2_decoder()
1357 err = SIGSEGV; in mipsr2_decoder()
1415 : "i"(SIGSEGV) in mipsr2_decoder()
1427 err = SIGSEGV; in mipsr2_decoder()
1485 : "i"(SIGSEGV) in mipsr2_decoder()
1502 err = SIGSEGV; in mipsr2_decoder()
1621 err = SIGSEGV; in mipsr2_decoder()
[all …]
/openbmc/linux/arch/arm64/mm/
H A Dfault.c691 arm64_force_sig_fault(SIGSEGV, in do_page_fault()
779 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 0 translation fault" },
780 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 1 translation fault" },
781 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 2 translation fault" },
782 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 3 translation fault" },
784 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 access flag fault" },
785 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" },
786 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 access flag fault" },
788 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 permission fault" },
789 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 permission fault" },
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-msr-resv.c28 if (segv_expected && (signum == SIGSEGV)) in signal_segv()
62 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_msr_resv()
/openbmc/linux/tools/testing/selftests/prctl/
H A Ddisable-tsc-ctxt-sw-stress-test.c51 signal(SIGSEGV, sigsegv_expect); in segvtask()
72 signal(SIGSEGV, sigsegv_fail); in rdtsctask()
/openbmc/linux/arch/nios2/mm/
H A Dfault.c171 if (unhandled_signal(current, SIGSEGV) && printk_ratelimit()) { in do_page_fault()
173 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
176 _exception(SIGSEGV, regs, code, address); in do_page_fault()
/openbmc/linux/arch/um/kernel/
H A Dtrap.c139 if (!unhandled_signal(tsk, SIGSEGV)) in show_segv_info()
158 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *) FAULT_ADDRESS(fi)); in bad_segv()
163 force_fatal_sig(SIGSEGV); in fatal_sigsegv()
266 force_sig_fault(SIGSEGV, si_code, (void __user *) address); in segv()
/openbmc/linux/arch/um/os-Linux/
H A Dsignal.c30 [SIGSEGV] = segv_handler,
40 if (sig == SIGSEGV) { in sig_handler_common()
176 [SIGSEGV] = sig_handler,
246 if (sig == SIGSEGV) in set_handler()
/openbmc/linux/arch/xtensa/mm/
H A Dfault.c114 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
202 force_sig_fault(SIGSEGV, code, (void *) address); in do_page_fault()
205 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
/openbmc/linux/arch/riscv/kernel/
H A Dtraps.c81 ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV); in die()
96 make_task_dead(SIGSEGV); in die()
152 SIGSEGV, SEGV_ACCERR, "instruction access fault");
183 SIGSEGV, SEGV_ACCERR, "load access fault");
236 SIGSEGV, SEGV_ACCERR, "store (or AMO) access fault");
/openbmc/linux/arch/x86/um/os-Linux/
H A Dtask_size.c93 if (sigaction(SIGSEGV, &sa, &old)) { in os_get_top_address()
133 if (sigaction(SIGSEGV, &old, NULL)) { in os_get_top_address()
/openbmc/linux/arch/x86/kernel/
H A Dtraps.c243 do_error_trap(regs, 0, "overflow", X86_TRAP_OF, SIGSEGV, 0, NULL); in DEFINE_IDTENTRY()
325 do_error_trap(regs, error_code, "invalid TSS", X86_TRAP_TS, SIGSEGV, in DEFINE_IDTENTRY_ERRORCODE()
466 notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV); in DEFINE_IDTENTRY_DF()
522 X86_TRAP_BR, SIGSEGV) == NOTIFY_STOP) in DEFINE_IDTENTRY()
529 do_trap(X86_TRAP_BR, SIGSEGV, "bounds", regs, 0, 0, NULL); in DEFINE_IDTENTRY()
679 return notify_die(DIE_GPF, str, regs, error_code, trapnr, SIGSEGV) == NOTIFY_STOP; in gp_try_fixup_and_notify()
687 show_signal(current, SIGSEGV, "", str, regs, error_code); in gp_user_force_sig_segv()
688 force_sig(SIGSEGV); in gp_user_force_sig_segv()
1276 force_sig(SIGSEGV); in handle_xfd_event()
/openbmc/linux/arch/parisc/mm/
H A Dfault.c246 if (!unhandled_signal(tsk, SIGSEGV)) in show_signal_msg()
374 signo = SIGSEGV; in do_page_fault()
381 signo = SIGSEGV; in do_page_fault()
396 signo = SIGSEGV; in do_page_fault()

1234567891011