Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/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.c180 if (((user_debug & UDBG_SEGV) && (sig == SIGSEGV)) || in __do_user_fault()
190 if ((sig == SIGSEGV) && ((addr & PAGE_MASK) == 0xffff0000)) in __do_user_fault()
212 __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area()
387 sig = SIGSEGV; in do_page_fault()
623 hook_fault_code(4, do_translation_fault, SIGSEGV, SEGV_MAPERR, in exceptions_init()
632 hook_fault_code(3, do_bad, SIGSEGV, SEGV_MAPERR, in exceptions_init()
634 hook_fault_code(6, do_bad, SIGSEGV, SEGV_MAPERR, in exceptions_init()
/linux-6.1.9/tools/testing/selftests/x86/
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()
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()
Dsingle_step_syscall.c92 [SIGSEGV] = "SIGSEGV",
217 sethandler(SIGSEGV, print_and_longjmp, in main()
231 clearhandler(SIGSEGV); in main()
/linux-6.1.9/tools/perf/tests/
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()
/linux-6.1.9/arch/powerpc/mm/
Dfault.c62 return SIGSEGV; in __bad_area_nosemaphore()
64 _exception(SIGSEGV, regs, si_code, address); in __bad_area_nosemaphore()
125 return SIGSEGV; in bad_access_pkey()
182 return SIGSEGV; in mm_fault_error()
440 return SIGSEGV; in ___do_page_fault()
649 bad_page_fault(regs, SIGSEGV); in DEFINE_INTERRUPT_HANDLER()
665 _exception(SIGSEGV, regs, SEGV_BNDERR, regs->dar); in DEFINE_INTERRUPT_HANDLER()
667 bad_page_fault(regs, SIGSEGV); in DEFINE_INTERRUPT_HANDLER()
/linux-6.1.9/arch/riscv/kernel/
Dtraps.c50 ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV); in die()
65 make_task_dead(SIGSEGV); in die()
113 SIGSEGV, SEGV_ACCERR, "instruction access fault");
117 SIGSEGV, SEGV_ACCERR, "load access fault");
144 SIGSEGV, SEGV_ACCERR, "store (or AMO) access fault");
/linux-6.1.9/arch/ia64/kernel/
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()
/linux-6.1.9/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 …]
/linux-6.1.9/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()
269 _exception(SIGSEGV, regs, code, address); in do_page_fault()
273 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
/linux-6.1.9/arch/arm64/mm/
Dfault.c676 arm64_force_sig_fault(SIGSEGV, in do_page_fault()
764 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 0 translation fault" },
765 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 1 translation fault" },
766 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 2 translation fault" },
767 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 3 translation fault" },
769 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 access flag fault" },
770 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" },
771 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 access flag fault" },
773 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 1 permission fault" },
774 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 permission fault" },
[all …]
/linux-6.1.9/tools/testing/selftests/powerpc/tm/
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()
/linux-6.1.9/tools/testing/selftests/prctl/
Ddisable-tsc-ctxt-sw-stress-test.c51 signal(SIGSEGV, sigsegv_expect); in segvtask()
72 signal(SIGSEGV, sigsegv_fail); in rdtsctask()
/linux-6.1.9/arch/um/os-Linux/
Dsignal.c29 [SIGSEGV] = segv_handler,
39 if (sig == SIGSEGV) { in sig_handler_common()
164 [SIGSEGV] = sig_handler,
234 if (sig == SIGSEGV) in set_handler()
/linux-6.1.9/arch/um/kernel/
Dtrap.c138 if (!unhandled_signal(tsk, SIGSEGV)) in show_segv_info()
157 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *) FAULT_ADDRESS(fi)); in bad_segv()
162 force_fatal_sig(SIGSEGV); in fatal_sigsegv()
265 force_sig_fault(SIGSEGV, si_code, (void __user *) address); in segv()
/linux-6.1.9/arch/nios2/mm/
Dfault.c181 if (unhandled_signal(current, SIGSEGV) && printk_ratelimit()) { in do_page_fault()
183 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
186 _exception(SIGSEGV, regs, code, address); in do_page_fault()
/linux-6.1.9/arch/parisc/mm/
Dfault.c241 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()
/linux-6.1.9/arch/x86/kernel/
Dtraps.c213 do_error_trap(regs, 0, "overflow", X86_TRAP_OF, SIGSEGV, 0, NULL); in DEFINE_IDTENTRY()
363 do_error_trap(regs, error_code, "invalid TSS", X86_TRAP_TS, SIGSEGV, in DEFINE_IDTENTRY_ERRORCODE()
504 notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV); in DEFINE_IDTENTRY_DF()
560 X86_TRAP_BR, SIGSEGV) == NOTIFY_STOP) in DEFINE_IDTENTRY()
567 do_trap(X86_TRAP_BR, SIGSEGV, "bounds", regs, 0, 0, NULL); in DEFINE_IDTENTRY()
716 return notify_die(DIE_GPF, str, regs, error_code, trapnr, SIGSEGV) == NOTIFY_STOP; in gp_try_fixup_and_notify()
724 show_signal(current, SIGSEGV, "", str, regs, error_code); in gp_user_force_sig_segv()
725 force_sig(SIGSEGV); in gp_user_force_sig_segv()
1313 force_sig(SIGSEGV); in handle_xfd_event()
/linux-6.1.9/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()
/linux-6.1.9/arch/xtensa/mm/
Dfault.c113 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
211 force_sig_fault(SIGSEGV, code, (void *) address); in do_page_fault()
214 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
/linux-6.1.9/tools/testing/selftests/proc/
Dproc-empty-vm.c147 sigaction(SIGSEGV, &act, NULL); in vsyscall()
345 sigaction(SIGSEGV, &act, NULL); in main()
384 assert(WSTOPSIG(wstatus) == SIGSEGV); in main()
/linux-6.1.9/arch/csky/kernel/
Dtraps.c100 ret = notify_die(DIE_OOPS, str, regs, 0, trap_no(regs), SIGSEGV); in die()
112 make_task_dead(SIGSEGV); in die()
155 SIGSEGV, ILL_ILLADR, "error bus error exception");
/linux-6.1.9/arch/um/os-Linux/skas/
Dprocess.c153 err = ptrace(PTRACE_CONT, pid, 0, SIGSEGV); in get_skas_faultinfo()
288 if (sigaction(SIGSEGV, &sa, NULL) < 0) { in userspace_tramp()
459 case SIGSEGV: in userspace()
470 case SIGSEGV: in userspace()
474 (*sig_info[SIGSEGV])(SIGSEGV, (struct siginfo *)&si, in userspace()

123456789