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.c501 int sig = q->info.si_signo; in __flush_itimer_signals()
585 if (q->info.si_signo == sig) { in collect_signal()
612 info->si_signo = sig; in collect_signal()
735 (sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) { in dequeue_synchronous_signal()
746 if (q->info.si_signo == sync->info.si_signo) in dequeue_synchronous_signal()
750 sigdelset(&pending->signal, sync->info.si_signo); in dequeue_synchronous_signal()
756 return info->si_signo; in dequeue_synchronous_signal()
804 if (sigismember(mask, q->info.si_signo)) { in flush_sigqueue_mask()
1137 q->info.si_signo = sig; in __send_signal_locked()
1150 q->info.si_signo = sig; in __send_signal_locked()
[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.c339 int sig = host_to_target_signal(info->si_signo); in host_to_target_siginfo_noswap()
342 tinfo->si_signo = sig; in host_to_target_siginfo_noswap()
423 __put_user(info->si_signo, &tinfo->si_signo); in tswap_siginfo()
491 __get_user(info->si_signo, &tinfo->si_signo); in target_to_host_siginfo()
700 info.si_signo = sig; in force_sig()
705 queue_signal(cpu_env(cpu), info.si_signo, QEMU_SI_KILL, &info); in force_sig()
717 info.si_signo = sig; in force_sig_fault()
873 switch (info->si_signo) { in die_from_signal()
934 snprintf(sigbuf, sizeof(sigbuf), "%d", info->si_signo); in die_from_signal()
945 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