• Home
  • Raw
  • Download

Lines Matching refs:si_code

504 		if (likely(q->info.si_code != SI_TIMER)) {  in __flush_itimer_signals()
602 (info->si_code == SI_TIMER) && in collect_signal()
615 info->si_code = SI_USER; in collect_signal()
735 if ((q->info.si_code > SI_USER) && in dequeue_synchronous_signal()
1133 override_rlimit = (is_si_special(info) || info->si_code >= 0); in __send_signal_locked()
1146 q->info.si_code = SI_USER; in __send_signal_locked()
1159 q->info.si_code = SI_KERNEL; in __send_signal_locked()
1168 sig >= SIGRTMIN && info->si_code != SI_USER) { in __send_signal_locked()
1212 switch (siginfo_layout(info->si_signo, info->si_code)) { in has_si_pid_and_uid()
1258 force = (info->si_code == SI_KERNEL); in send_signal_locked()
1572 info.si_code = SI_ASYNCIO; in kill_pid_usb_asyncio()
1679 info.si_code = SI_KERNEL; in force_sig()
1693 info.si_code = SI_KERNEL; in force_fatal_sig()
1706 info.si_code = SI_KERNEL; in force_exit_sig()
1735 info.si_code = code; in force_sig_fault_to_task()
1761 info.si_code = code; in send_sig_fault()
1779 info.si_code = code; in force_sig_mceerr()
1793 info.si_code = code; in send_sig_mceerr()
1807 info.si_code = SEGV_BNDERR; in force_sig_bnderr()
1822 info.si_code = SEGV_PKUERR; in force_sig_pkuerr()
1836 info.si_code = TRAP_PERF; in send_sig_perf()
1869 info.si_code = SYS_SECCOMP; in force_sig_seccomp()
1888 info.si_code = TRAP_HWBKPT; in force_sig_ptrace_errno_trap()
1903 info.si_code = code; in force_sig_fault_trapno()
1920 info.si_code = code; in send_sig_fault_trapno()
2010 BUG_ON(q->info.si_code != SI_TIMER); in send_sigqueue()
2101 info.si_code = CLD_DUMPED; in do_notify_parent()
2103 info.si_code = CLD_KILLED; in do_notify_parent()
2105 info.si_code = CLD_EXITED; in do_notify_parent()
2189 info.si_code = why; in do_notify_parent_cldstop()
2297 if (info && info->si_code >> 8 == PTRACE_EVENT_STOP) in ptrace_stop()
2362 info.si_code = exit_code; in ptrace_do_notify()
2609 info->si_code = SI_USER; in ptrace_signal()
2629 switch (siginfo_layout(ksig->sig, ksig->info.si_code)) { in hide_si_addr_tag_bits()
2637 ksig->info.si_addr, ksig->sig, ksig->info.si_code); in hide_si_addr_tag_bits()
3281 static bool known_siginfo_layout(unsigned sig, int si_code) in known_siginfo_layout() argument
3283 if (si_code == SI_KERNEL) in known_siginfo_layout()
3285 else if ((si_code > SI_USER)) { in known_siginfo_layout()
3287 if (si_code <= sig_sicodes[sig].limit) in known_siginfo_layout()
3290 else if (si_code <= NSIGPOLL) in known_siginfo_layout()
3293 else if (si_code >= SI_DETHREAD) in known_siginfo_layout()
3295 else if (si_code == SI_ASYNCNL) in known_siginfo_layout()
3300 enum siginfo_layout siginfo_layout(unsigned sig, int si_code) in siginfo_layout() argument
3303 if ((si_code > SI_USER) && (si_code < SI_KERNEL)) { in siginfo_layout()
3305 (si_code <= sig_sicodes[sig].limit)) { in siginfo_layout()
3309 (si_code >= BUS_MCEERR_AR) && (si_code <= BUS_MCEERR_AO)) in siginfo_layout()
3311 else if ((sig == SIGSEGV) && (si_code == SEGV_BNDERR)) in siginfo_layout()
3314 else if ((sig == SIGSEGV) && (si_code == SEGV_PKUERR)) in siginfo_layout()
3317 else if ((sig == SIGTRAP) && (si_code == TRAP_PERF)) in siginfo_layout()
3320 (sig == SIGILL) && (si_code == ILL_ILLTRP)) in siginfo_layout()
3324 ((sig == SIGTRAP) && (si_code == TRAP_UNK)))) in siginfo_layout()
3327 else if (si_code <= NSIGPOLL) in siginfo_layout()
3330 if (si_code == SI_TIMER) in siginfo_layout()
3332 else if (si_code == SI_SIGIO) in siginfo_layout()
3334 else if (si_code < 0) in siginfo_layout()
3358 if (unlikely(!known_siginfo_layout(info->si_signo, info->si_code))) { in post_copy_siginfo_from_user()
3412 to->si_code = from->si_code; in copy_siginfo_to_external32()
3413 switch(siginfo_layout(from->si_signo, from->si_code)) { in copy_siginfo_to_external32()
3490 to->si_code = from->si_code; in post_copy_siginfo_from_user32()
3491 switch(siginfo_layout(from->si_signo, from->si_code)) { in post_copy_siginfo_from_user32()
3783 info->si_code = SI_USER; in prepare_kill_siginfo()
3907 (kinfo.si_code >= 0 || kinfo.si_code == SI_TKILL)) in SYSCALL_DEFINE4()
3957 info.si_code = SI_TKILL; in do_tkill()
4004 if ((info->si_code >= 0 || info->si_code == SI_TKILL) && in do_rt_sigqueueinfo()
4051 if ((info->si_code >= 0 || info->si_code == SI_TKILL) && in do_rt_tgsigqueueinfo()