Home
last modified time | relevance | path

Searched refs:si_signo (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c52 .si_signo = 0, in TEST()
83 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
101 .si_signo = 0, in TEST()
121 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
130 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
135 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
142 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
162 .si_signo = 0, in TEST()
219 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
226 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST()
/openbmc/qemu/bsd-user/aarch64/
H A Dtarget_arch_cpu.h49 int trapnr, ec, fsc, si_code, si_signo; in target_cpu_loop() local
121 si_signo = TARGET_SIGSEGV; in target_cpu_loop()
126 si_signo = TARGET_SIGSEGV; in target_cpu_loop()
130 si_signo = TARGET_SIGSEGV; in target_cpu_loop()
134 si_signo = TARGET_SIGBUS; in target_cpu_loop()
140 force_sig_fault(si_signo, si_code, env->exception.vaddress); in target_cpu_loop()
/openbmc/qemu/linux-user/aarch64/
H A Dcpu_loop.c82 int trapnr, ec, fsc, si_code, si_signo; in cpu_loop() local
126 si_signo = TARGET_SIGSEGV; in cpu_loop()
131 si_signo = TARGET_SIGSEGV; in cpu_loop()
135 si_signo = TARGET_SIGSEGV; in cpu_loop()
139 si_signo = TARGET_SIGBUS; in cpu_loop()
147 si_signo = TARGET_SIGBUS; in cpu_loop()
153 force_sig_fault(si_signo, si_code, env->exception.vaddress); in cpu_loop()
/openbmc/qemu/bsd-user/arm/
H A Dtarget_arch_cpu.h42 int trapnr, si_signo, si_code; in target_cpu_loop() local
159 si_signo = TARGET_SIGBUS; in target_cpu_loop()
168 si_signo = TARGET_SIGSEGV; in target_cpu_loop()
173 si_signo = TARGET_SIGSEGV; in target_cpu_loop()
179 force_sig_fault(si_signo, si_code, env->exception.vaddress); in target_cpu_loop()
/openbmc/linux/arch/hexagon/mm/
H A Dvm_fault.c40 int si_signo; in do_page_fault() local
121 si_signo = SIGBUS; in do_page_fault()
126 si_signo = SIGSEGV; in do_page_fault()
129 force_sig_fault(si_signo, si_code, (void __user *)address); in do_page_fault()
/openbmc/qemu/linux-user/ppc/
H A Dcpu_loop.c71 int trapnr, si_signo, si_code; in cpu_loop() local
110 si_signo = TARGET_SIGFPE; in cpu_loop()
145 si_signo = TARGET_SIGILL; in cpu_loop()
167 si_signo = TARGET_SIGILL; in cpu_loop()
183 si_signo = TARGET_SIGTRAP; in cpu_loop()
192 force_sig_fault(si_signo, si_code, env->nip); in cpu_loop()
/openbmc/linux/kernel/
H A Dsignal.c746 if (q->info.si_signo == sync->info.si_signo) in dequeue_synchronous_signal()
1566 info.si_signo = sig; in kill_pid_usb_asyncio()
1673 info.si_signo = sig; in force_sig()
1687 info.si_signo = sig; in force_fatal_sig()
1700 info.si_signo = sig; in force_exit_sig()
1729 info.si_signo = sig; in force_sig_fault_to_task()
1755 info.si_signo = sig; in send_sig_fault()
1897 info.si_signo = sig; in force_sig_fault_trapno()
1914 info.si_signo = sig; in send_sig_fault_trapno()
3433 to->si_signo = from->si_signo; in copy_siginfo_to_external32()
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dtraps.c51 void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) in do_report_trap() argument
54 force_sig_fault(si_signo, si_code, get_trap_ip(regs)); in do_report_trap()
55 report_user_fault(regs, si_signo, 0); in do_report_trap()
62 static void do_trap(struct pt_regs *regs, int si_signo, int si_code, char *str) in do_trap() argument
65 regs->int_code, si_signo) == NOTIFY_STOP) in do_trap()
67 do_report_trap(regs, si_signo, si_code, str); in do_trap()
H A Dentry.h32 void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str);
/openbmc/qemu/linux-user/arm/
H A Dcpu_loop.c323 int trapnr, si_signo, si_code; in cpu_loop() local
469 si_signo = TARGET_SIGBUS; in cpu_loop()
478 si_signo = TARGET_SIGSEGV; in cpu_loop()
483 si_signo = TARGET_SIGSEGV; in cpu_loop()
489 force_sig_fault(si_signo, si_code, env->exception.vaddress); in cpu_loop()
/openbmc/qemu/bsd-user/freebsd/
H A Dtarget_os_siginfo.h52 int32_t si_signo; /* signal number */ member
121 #define target_si_signo si_signo
/openbmc/qemu/linux-user/
H A Dsignal.c338 int sig = host_to_target_signal(info->si_signo); in host_to_target_siginfo_noswap()
341 tinfo->si_signo = sig; in host_to_target_siginfo_noswap()
422 __put_user(info->si_signo, &tinfo->si_signo); in tswap_siginfo()
490 __get_user(info->si_signo, &tinfo->si_signo); in target_to_host_siginfo()
632 info.si_signo = sig; in force_sig()
637 queue_signal(cpu_env(cpu), info.si_signo, QEMU_SI_KILL, &info); in force_sig()
649 info.si_signo = sig; in force_sig_fault()
805 switch (info->si_signo) { in die_from_signal()
866 snprintf(sigbuf, sizeof(sigbuf), "%d", info->si_signo); in die_from_signal()
877 die_with_signal(info->si_signo); in die_from_signal()
/openbmc/qemu/bsd-user/
H A Dsignal.c166 int sig = host_to_target_signal(info->si_signo); in host_to_target_siginfo_noswap()
186 tinfo->si_signo = sig; in host_to_target_siginfo_noswap()
269 __put_user(info->si_signo, &tinfo->si_signo); in tswap_siginfo()
473 info.si_signo = sig; in force_sig_fault()
759 frame->sf_si.si_signo = tinfo->si_signo; in setup_frame()
/openbmc/linux/include/uapi/asm-generic/
H A Dsiginfo.h124 int si_signo; \
132 int si_signo; \
/openbmc/linux/include/linux/
H A Delfcore-compat.h15 compat_int_t si_signo; member
H A Delfcore.h19 int si_signo; /* signal number */ member
H A Dptrace.h345 info.si_signo = SIGTRAP; in user_single_step_report()
/openbmc/qemu/tests/tcg/multiarch/
H A Dsigbus.c20 assert(info->si_signo == SIGBUS); in sigbus()
/openbmc/linux/arch/sh/mm/
H A Dfault.c28 force_sig_info_fault(int si_signo, int si_code, unsigned long address) in force_sig_info_fault() argument
30 force_sig_fault(si_signo, si_code, (void __user *)address); in force_sig_info_fault()
/openbmc/linux/fs/
H A Dsignalfd.c87 new.ssi_signo = kinfo->si_signo; in signalfd_copyinfo()
90 switch (siginfo_layout(kinfo->si_signo, kinfo->si_code)) { in signalfd_copyinfo()
H A Dcoredump.c298 cprm->siginfo->si_signo); in format_corename()
548 audit_core_dumps(siginfo->si_signo); in do_coredump()
571 retval = coredump_wait(siginfo->si_signo, &core_state); in do_coredump()
/openbmc/linux/kernel/entry/
H A Dsyscall_user_dispatch.c25 info.si_signo = SIGSYS; in trigger_sigsys()
/openbmc/linux/Documentation/arch/sparc/
H A Dadi.rst110 siginfo.si_signo = SIGSEGV;
129 siginfo.si_signo = SIGSEGV;
149 siginfo.si_signo = SIGSEGV;
/openbmc/qemu/
H A Dos-posix.c54 qemu_system_killed(info->si_signo, info->si_pid); in termsig_handler()
/openbmc/linux/arch/x86/kernel/
H A Dsignal_64.c286 if (from->si_signo == SIGCHLD) { in x32_copy_siginfo_to_user()
429 static_assert(offsetof(siginfo_t, si_signo) == 0);

123