Home
last modified time | relevance | path

Searched refs:SIGBUS (Results 1 – 25 of 144) sorted by relevance

123456

/linux/arch/arm/mm/
H A Dfsr-3level.c3 { do_bad, SIGBUS, 0, "unknown 0" },
4 { do_bad, SIGBUS, 0, "unknown 1" },
5 { do_bad, SIGBUS, 0, "unknown 2" },
6 { do_bad, SIGBUS, 0, "unknown 3" },
7 { do_bad, SIGBUS, 0, "reserved translation fault" },
11 { do_bad, SIGBUS, 0, "reserved access flag fault" },
15 { do_bad, SIGBUS, 0, "reserved permission fault" },
19 { do_bad, SIGBUS, 0, "synchronous external abort" },
20 { do_bad, SIGBUS, 0, "asynchronous external abort" },
21 { do_bad, SIGBUS, 0, "unknown 18" },
[all …]
H A Dfsr-2level.c8 { do_bad, SIGBUS, BUS_ADRALN, "alignment exception" },
10 { do_bad, SIGBUS, BUS_ADRALN, "alignment exception" },
11 { do_bad, SIGBUS, 0, "external abort on linefetch" },
13 { do_bad, SIGBUS, 0, "external abort on linefetch" },
15 { do_bad, SIGBUS, 0, "external abort on non-linefetch" },
17 { do_bad, SIGBUS, 0, "external abort on non-linefetch" },
19 { do_bad, SIGBUS, 0, "external abort on translation" },
21 { do_bad, SIGBUS, 0, "external abort on translation" },
28 { do_bad, SIGBUS, 0, "unknown 16" },
29 { do_bad, SIGBUS, 0, "unknown 17" },
[all …]
/linux/arch/microblaze/kernel/
H A Dexceptions.c88 die("opcode exception", regs, SIGBUS); in full_exception()
93 _exception(SIGBUS, regs, BUS_ADRERR, addr); in full_exception()
97 die("bus exception", regs, SIGBUS); in full_exception()
102 _exception(SIGBUS, regs, BUS_ADRERR, addr); in full_exception()
106 die("bus exception", regs, SIGBUS); in full_exception()
115 die("Divide by zero exception", regs, SIGBUS); in full_exception()
/linux/Documentation/translations/zh_CN/mm/
H A Dhwpoison.rst61 (可以在全局和每个进程中控制) 一旦检测到错误,立即向应用程序发送SIGBUS这允许
66 当应用程序运行到损坏的页面时,发送SIGBUS。这对不知道内存错误的应用程序来说是
93 注意,如果你想有一个专门的线程代表进程处理SIGBUS(BUS_MCEERR_AO),你应该在
94 指定线程上调用prctl(PR_MCE_KILL_EARLY)。否则,SIGBUS将被发送到主线程。
H A Dhugetlbfs_reserv.rst21 时没有巨页存在,任务就会被发送一个SIGBUS,并经常不高兴地死去。在加入巨页支
273 在发生异常的任务不是所有者的情况下,异常将失败,该任务通常会收到一个SIGBUS
278 会收到一个SIGBUS。但是,映射/预留的原始拥有者的行为将与预期一致。
/linux/Documentation/admin-guide/cgroup-v1/
H A Dhugetlb.rst78 that, the application will get SIGBUS signal if it tries to fault in HugeTLB
82 getting SIGBUS.
98 the application to get SIGBUS signal if the memory was reserved beforehand. For
101 receive a SIGBUS if it's crossing its limit.
105 never cause the application to get SIGBUS signal if the memory was reserved
108 hard to avoid processes getting SIGBUS since the sysadmin needs to precisely know
110 pages to satisfy all requests. Avoiding tasks getting SIGBUS on overcommitted
/linux/Documentation/ABI/removed/
H A Dsysfs-mce28 1 panic or SIGBUS on uncorrected errors, log corrected errors
29 2 SIGBUS or log uncorrected errors, log corrected errors
30 3 never panic or SIGBUS, log all errors (for testing only)
/linux/arch/powerpc/mm/
H A Dfault.c144 return SIGBUS; in do_sigbus()
164 force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *)address); in do_sigbus()
431 _exception(SIGBUS, regs, BUS_OBJERR, address); in ___do_page_fault()
434 return SIGBUS; in ___do_page_fault()
518 return user_mode(regs) ? 0 : SIGBUS; in ___do_page_fault()
553 return user_mode(regs) ? 0 : SIGBUS; in ___do_page_fault()
/linux/arch/hexagon/kernel/
H A Dtraps.c237 force_sig(SIGBUS); in misaligned_instruction()
248 force_sig(SIGBUS); in misaligned_data_load()
254 force_sig(SIGBUS); in misaligned_data_store()
270 force_sig(SIGBUS); in precise_bus_error()
/linux/arch/microblaze/mm/
H A Dfault.c225 bad_page_fault(regs, address, SIGBUS); in do_page_fault()
295 force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *)address); in do_page_fault()
298 bad_page_fault(regs, address, SIGBUS); in do_page_fault()
/linux/tools/testing/selftests/mm/
H A Dhugetlb_fault_after_madv.c24 if (signal == SIGBUS) { in signal_handler()
70 if (signal(SIGBUS, signal_handler) == SIG_ERR) in main()
H A Dmemory-failure.c94 return sigaction(SIGBUS, &sa, NULL); in setup_sighandler()
123 sigaction(SIGBUS, &sa, NULL); in teardown_sighandler()
183 ASSERT_EQ(siginfo.si_signo, SIGBUS); in check()
/linux/arch/arc/kernel/
H A Dtraps.c73 DO_ERROR_INFO(SIGBUS, "Invalid Mem Access", __weak do_memory_error, BUS_ADRERR)
75 DO_ERROR_INFO(SIGBUS, "Misaligned Access", do_misaligned_error, BUS_ADRALN)
/linux/tools/objtool/
H A Dsignal.c36 case SIGBUS: sig_name = "SIGBUS"; break; in signal_handler()
102 int signals[] = {SIGSEGV, SIGBUS, SIGILL, SIGABRT}; in init_signal_handler()
/linux/Documentation/arch/arm/
H A Dmem_alignment.rst20 trap to SIGBUS any code performing unaligned access (good for debugging bad
46 2 The kernel will send a SIGBUS signal to the user process
54 fixing up or sending SIGBUS signals::
/linux/arch/powerpc/platforms/cell/spufs/
H A Dfault.c34 force_sig_fault(SIGBUS, BUS_OBJERR, NULL); in spufs_handle_event()
42 force_sig_fault(SIGBUS, BUS_ADRALN, NULL); in spufs_handle_event()
/linux/arch/arm64/mm/
H A Dfault.c750 arm64_force_sig_fault(SIGBUS, BUS_ADRERR, far, inf->name); in do_page_fault()
878 { do_sea, SIGBUS, BUS_OBJERR, "synchronous external abort" },
886 …{ do_sea, SIGBUS, BUS_OBJERR, "synchronous parity or ECC error" }, // Reserved when RAS is imple…
895 { do_alignment_fault, SIGBUS, BUS_ADRALN, "alignment fault" },
915 { do_bad, SIGBUS, BUS_OBJERR, "implementation fault (unsupported exclusive)" },
950 arm64_notify_die("SP/PC alignment exception", regs, SIGBUS, BUS_ADRALN, in do_sp_pc_abort()
/linux/arch/m68k/mm/
H A Dfault.c191 current->thread.signo = SIGBUS; in do_page_fault()
196 current->thread.signo = SIGBUS; in do_page_fault()
/linux/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c39 if (sig == SIGSEGV || sig == SIGBUS) in fault_handler()
125 rc = sigaction(SIGBUS, &act, NULL); in test_zicbop()
146 rc = sigaction(SIGBUS, &dfl, NULL); in test_zicbop()
/linux/arch/xtensa/mm/
H A Dfault.c226 force_sig_fault(SIGBUS, BUS_ADRERR, (void *) address); in do_page_fault()
230 bad_page_fault(regs, address, SIGBUS); in do_page_fault()
/linux/arch/mips/math-emu/
H A Ddsemul.c250 return SIGBUS; in mips_dsemul()
278 return SIGBUS; in mips_dsemul()
/linux/Documentation/mm/
H A Dhwpoison.rst64 Send SIGBUS to the application as soon as the error is detected
70 Send SIGBUS when the application runs into the corrupted page.
99 the SIGBUS(BUS_MCEERR_AO) on behalf of the process, you should
101 the SIGBUS is sent to the main thread.
/linux/arch/powerpc/platforms/8xx/
H A Dmachine_check.c29 bad_page_fault(regs, SIGBUS); in machine_check_8xx()
/linux/arch/mips/sgi-ip32/
H A Dip32-berr.c34 force_sig(SIGBUS); in ip32_be_handler()
/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h92 sigaction(SIGBUS, &sa_new, &sa_old); \
97 sigaction(SIGBUS, &sa_old, NULL); \

123456