Home
last modified time | relevance | path

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

123456

/arch/arm/mm/
Dfsr-2level.c7 { do_bad, SIGSEGV, 0, "vector exception" },
12 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "section translation fault" },
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" },
52 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "section translation fault" },
53 { do_bad, SIGSEGV, SEGV_ACCERR, "page access flag fault" },
[all …]
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" },
Dfault.c144 if (((user_debug & UDBG_SEGV) && (sig == SIGSEGV)) || in __do_user_fault()
154 if ((sig == SIGSEGV) && ((addr & PAGE_MASK) == 0xffff0000)) in __do_user_fault()
176 __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area()
367 sig = SIGSEGV; in do_page_fault()
599 hook_fault_code(4, do_translation_fault, SIGSEGV, SEGV_MAPERR, in exceptions_init()
608 hook_fault_code(3, do_bad, SIGSEGV, SEGV_MAPERR, in exceptions_init()
610 hook_fault_code(6, do_bad, SIGSEGV, SEGV_MAPERR, in exceptions_init()
/arch/riscv/kernel/
Dtraps.c44 ret = notify_die(DIE_OOPS, str, regs, 0, regs->scause, SIGSEGV); in die()
56 do_exit(SIGSEGV); in die()
97 SIGSEGV, SEGV_ACCERR, "instruction access fault");
103 SIGSEGV, SEGV_ACCERR, "load access fault");
107 SIGSEGV, SEGV_ACCERR, "store (or AMO) access fault");
/arch/unicore32/mm/
Dfault.c137 __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area()
307 sig = SIGSEGV; in do_pf()
411 { do_ifault, SIGSEGV, SEGV_MAPERR, "2nd level pt non-exist"},
414 { do_pf, SIGSEGV, SEGV_MAPERR, "page miss" },
417 { do_pf, SIGSEGV, SEGV_MAPERR, "super page (section) miss" },
423 { do_pf, SIGSEGV, SEGV_ACCERR, "read unreadable addr" },
424 { do_pf, SIGSEGV, SEGV_ACCERR, "write unwriteable addr"},
425 { do_pf, SIGSEGV, SEGV_ACCERR, "exec unexecutable addr"},
/arch/microblaze/mm/
Dfault.c102 _exception(SIGSEGV, regs, code, address); in do_page_fault()
119 die("Weird page fault", regs, SIGSEGV); in do_page_fault()
270 _exception(SIGSEGV, regs, code, address); in do_page_fault()
274 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
/arch/csky/kernel/
Dtraps.c88 do_exit(SIGSEGV); in die_if_kernel()
109 force_sig_fault(SIGSEGV, 0, (void __user *)regs->pc); in buserr()
164 sig = SIGSEGV; in trap_c()
/arch/ia64/kernel/
Dtraps.c69 if (notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV) in die()
88 do_exit(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()
/arch/c6x/kernel/
Dtraps.c230 { "Oops - CPU memory protection fault", SIGSEGV, SEGV_ACCERR },
231 { "Oops - CPU memory protection fault in L1P", SIGSEGV, SEGV_ACCERR },
232 { "Oops - DMA memory protection fault in L1P", SIGSEGV, SEGV_ACCERR },
233 { "Oops - CPU memory protection fault in L1D", SIGSEGV, SEGV_ACCERR },
234 { "Oops - DMA memory protection fault in L1D", SIGSEGV, SEGV_ACCERR },
235 { "Oops - CPU memory protection fault in L2", SIGSEGV, SEGV_ACCERR },
236 { "Oops - DMA memory protection fault in L2", SIGSEGV, SEGV_ACCERR },
237 { "Oops - EMC CPU memory protection fault", SIGSEGV, SEGV_ACCERR },
/arch/arm64/mm/
Dfault.c614 arm64_force_sig_fault(SIGSEGV, in do_page_fault()
677 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 0 translation fault" },
678 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 1 translation fault" },
679 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 2 translation fault" },
680 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 3 translation fault" },
682 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 access flag fault" },
683 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" },
684 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 access flag fault" },
686 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 permission fault" },
687 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 permission fault" },
[all …]
/arch/mips/kernel/
Dmips-r2-to-r6-emul.c273 return SIGSEGV; in jr_func()
1004 err = SIGSEGV; in mipsr2_decoder()
1059 err = SIGSEGV; in mipsr2_decoder()
1130 err = SIGSEGV; in mipsr2_decoder()
1210 err = SIGSEGV; in mipsr2_decoder()
1269 : "i"(SIGSEGV)); in mipsr2_decoder()
1283 err = SIGSEGV; in mipsr2_decoder()
1344 : "i"(SIGSEGV)); in mipsr2_decoder()
1357 err = SIGSEGV; in mipsr2_decoder()
1415 : "i"(SIGSEGV) in mipsr2_decoder()
[all …]
/arch/x86/kernel/
Dtraps.c290 DO_ERROR(X86_TRAP_OF, SIGSEGV, 0, NULL, "overflow", overflow)
293 DO_ERROR(X86_TRAP_TS, SIGSEGV, 0, NULL, "invalid TSS", invalid_TSS)
372 notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV); in do_double_fault()
437 X86_TRAP_BR, SIGSEGV) == NOTIFY_STOP) in do_bounds()
493 show_signal(tsk, SIGSEGV, "trap ", "bounds", regs, error_code); in do_bounds()
514 do_trap(X86_TRAP_BR, SIGSEGV, "bounds", regs, error_code, 0, NULL); in do_bounds()
555 X86_TRAP_GP, SIGSEGV) != NOTIFY_STOP) in do_general_protection()
563 show_signal(tsk, SIGSEGV, "", desc, regs, error_code); in do_general_protection()
565 force_sig(SIGSEGV); in do_general_protection()
/arch/um/os-Linux/
Dsignal.c28 [SIGSEGV] = segv_handler,
38 if (sig == SIGSEGV) { in sig_handler_common()
140 [SIGSEGV] = sig_handler,
208 if (sig == SIGSEGV) in set_handler()
/arch/parisc/mm/
Dfault.c238 if (!unhandled_signal(tsk, SIGSEGV)) in show_signal_msg()
364 signo = SIGSEGV; in do_page_fault()
371 signo = SIGSEGV; in do_page_fault()
386 signo = SIGSEGV; in do_page_fault()
/arch/x86/um/os-Linux/
Dtask_size.c93 if (sigaction(SIGSEGV, &sa, &old)) { in os_get_top_address()
133 if (sigaction(SIGSEGV, &old, NULL)) { in os_get_top_address()
/arch/nios2/mm/
Dfault.c188 if (unhandled_signal(current, SIGSEGV) && printk_ratelimit()) { in do_page_fault()
190 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
193 _exception(SIGSEGV, regs, code, address); in do_page_fault()
/arch/um/kernel/
Dtrap.c147 if (!unhandled_signal(tsk, SIGSEGV)) in show_segv_info()
166 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *) FAULT_ADDRESS(fi)); in bad_segv()
171 force_sigsegv(SIGSEGV); in fatal_sigsegv()
274 force_sig_fault(SIGSEGV, si_code, (void __user *) address); in segv()
/arch/xtensa/mm/
Dfault.c60 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
160 force_sig_fault(SIGSEGV, code, (void *) address); in do_page_fault()
163 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
/arch/powerpc/mm/
Dfault.c91 return SIGSEGV; in __bad_area_nosemaphore()
93 _exception(SIGSEGV, regs, si_code, address); in __bad_area_nosemaphore()
130 return SIGSEGV; in bad_key_fault_exception()
187 return SIGSEGV; in mm_fault_error()
466 return SIGSEGV; in __do_page_fault()
/arch/hexagon/mm/
Dvm_fault.c135 si_signo = SIGSEGV; in do_page_fault()
145 force_sig_fault(SIGSEGV, si_code, (void __user *)address); in do_page_fault()
/arch/x86/math-emu/
Dget_address.c129 math_abort(FPU_info, SIGSEGV); in vm86_segment()
149 math_abort(FPU_info, SIGSEGV); in pm_address()
222 math_abort(FPU_info, SIGSEGV); in FPU_get_address()
306 math_abort(FPU_info, SIGSEGV); in FPU_get_address_16()
Dfpu_system.h108 math_abort(FPU_info,SIGSEGV)
109 #define FPU_abort math_abort(FPU_info, SIGSEGV)
/arch/sh/kernel/
Dtraps.c44 notify_die(DIE_OOPS, str, regs, err, 255, SIGSEGV); in die()
60 do_exit(SIGSEGV); in die()
/arch/x86/entry/vsyscall/
Dvsyscall_64.c113 force_sig_fault(SIGSEGV, SEGV_MAPERR, (void __user *)ptr); in write_ok_or_segv()
277 !sigismember(&tsk->pending.signal, SIGSEGV))) in emulate_vsyscall()
292 force_sig(SIGSEGV); in emulate_vsyscall()
/arch/mips/mm/
Dfault.c62 current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) in __do_page_fault()
210 unhandled_signal(tsk, SIGSEGV) && in __do_page_fault()
226 force_sig_fault(SIGSEGV, si_code, (void __user *)address); in __do_page_fault()

123456