/netbsd/external/bsd/libproc/dist/ |
H A D | proc_util.c | 228 siginfo_t *siginfo; in proc_getlwpstatus() local 237 siginfo = &si.psi_siginfo; in proc_getlwpstatus() 238 if (siginfo->si_signo == SIGTRAP && in proc_getlwpstatus() 239 (siginfo->si_code == TRAP_BRKPT || in proc_getlwpstatus() 240 siginfo->si_code == TRAP_TRACE)) { in proc_getlwpstatus() 244 (siginfo->si_code == TRAP_SCE)) { in proc_getlwpstatus() 247 (siginfo->si_code == TRAP_SCX)) { in proc_getlwpstatus() 251 psp->pr_what = siginfo->si_signo; in proc_getlwpstatus() 270 siginfo = &lwpinfo.pl_siginfo; in proc_getlwpstatus() 271 if (siginfo->si_signo == SIGTRAP && in proc_getlwpstatus() [all …]
|
/netbsd/usr.bin/kdump/ |
H A D | Makefile.siginfo-c | 5 SIGINFO_H= ${DESTDIR}/usr/include/sys/siginfo.h 6 siginfo.c: mksiginfos ${SIGINFO_H} 9 ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mksiginfos > siginfo.c 11 DPSRCS+= siginfo.c
|
H A D | Makefile | 11 SRCS= kdump.c subr.c setemul.c siginfo.c 13 CLEANFILES+=siginfo.c
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | siginfo-infcall.c | 46 handler (int sig, siginfo_t *siginfo, void *context) in handler() argument 49 assert (siginfo->si_signo == SIGUSR1); in handler() 50 if (siginfo->si_pid == getpid ()) in handler()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
H A D | siginfo-infcall.c | 46 handler (int sig, siginfo_t *siginfo, void *context) in handler() argument 49 assert (siginfo->si_signo == SIGUSR1); in handler() 50 if (siginfo->si_pid == getpid ()) in handler()
|
/netbsd/sys/kern/ |
H A D | kern_exit.c | 883 if (siginfo != NULL) { in match_process() 884 siginfo->si_errno = 0; in match_process() 892 siginfo->si_signo = SIGCHLD; in match_process() 899 siginfo->si_code = CLD_DUMPED; in match_process() 900 siginfo->si_status = p->p_xsig; in match_process() 902 siginfo->si_code = CLD_KILLED; in match_process() 903 siginfo->si_status = p->p_xsig; in match_process() 905 siginfo->si_code = CLD_EXITED; in match_process() 906 siginfo->si_status = p->p_xexit; in match_process() 909 siginfo->si_pid = p->p_pid; in match_process() [all …]
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
H A D | ubsan_signals_standalone.cc | 50 static void UBsanOnDeadlySignal(int signo, void *siginfo, void *context) { in UBsanOnDeadlySignal() argument 51 HandleDeadlySignal(siginfo, context, GetTid(), &OnStackUnwind, nullptr); in UBsanOnDeadlySignal()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
H A D | ubsan_signals_standalone.cc | 50 static void UBsanOnDeadlySignal(int signo, void *siginfo, void *context) { in UBsanOnDeadlySignal() argument 51 HandleDeadlySignal(siginfo, context, GetTid(), &OnStackUnwind, nullptr); in UBsanOnDeadlySignal()
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
H A D | ubsan_signals_standalone.cc | 50 static void UBsanOnDeadlySignal(int signo, void *siginfo, void *context) { in UBsanOnDeadlySignal() argument 51 HandleDeadlySignal(siginfo, context, GetTid(), &OnStackUnwind, nullptr); in UBsanOnDeadlySignal()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_posix.cc | 33 void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { in AsanOnDeadlySignal() argument 35 SignalContext sig(siginfo, context); in AsanOnDeadlySignal()
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_posix.cc | 33 void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { in AsanOnDeadlySignal() argument 35 SignalContext sig(siginfo, context); in AsanOnDeadlySignal()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | linux-nat.c | 2607 siginfo_t siginfo; in save_stop_reason() local 2625 if (siginfo.si_signo == SIGTRAP) in save_stop_reason() 2627 if (GDB_ARCH_IS_TRAP_BRKPT (siginfo.si_code) in save_stop_reason() 2651 else if (siginfo.si_code == TRAP_TRACE) in save_stop_reason() 3637 siginfo_t siginfo; in linux_xfer_siginfo() local 3647 if (offset > sizeof (siginfo)) in linux_xfer_siginfo() 3661 siginfo_fixup (&siginfo, inf_siginfo, 0); in linux_xfer_siginfo() 3663 if (offset + len > sizeof (siginfo)) in linux_xfer_siginfo() 3664 len = sizeof (siginfo) - offset; in linux_xfer_siginfo() 3673 siginfo_fixup (&siginfo, inf_siginfo, 1); in linux_xfer_siginfo() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | linux-nat.c | 2607 siginfo_t siginfo; in save_stop_reason() local 2625 if (siginfo.si_signo == SIGTRAP) in save_stop_reason() 2627 if (GDB_ARCH_IS_TRAP_BRKPT (siginfo.si_code) in save_stop_reason() 2651 else if (siginfo.si_code == TRAP_TRACE) in save_stop_reason() 3637 siginfo_t siginfo; in linux_xfer_siginfo() local 3647 if (offset > sizeof (siginfo)) in linux_xfer_siginfo() 3661 siginfo_fixup (&siginfo, inf_siginfo, 0); in linux_xfer_siginfo() 3663 if (offset + len > sizeof (siginfo)) in linux_xfer_siginfo() 3664 len = sizeof (siginfo) - offset; in linux_xfer_siginfo() 3673 siginfo_fixup (&siginfo, inf_siginfo, 1); in linux_xfer_siginfo() [all …]
|
/netbsd/usr.bin/ftp/ |
H A D | progressbar.c | 306 ptransfer(int siginfo) argument 316 if (!verbose && !progress && !siginfo) 356 if (siginfo && bytes > 0 && elapsed > 0.0 && filesize >= 0 372 (void)write(siginfo ? STDERR_FILENO : fileno(ttyout), buf, len);
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_posix.cc | 35 void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { in AsanOnDeadlySignal() argument 37 SignalContext sig(siginfo, context); in AsanOnDeadlySignal()
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | siginfo-threads.c | 90 handler (int signo, siginfo_t *siginfo, void *exception) in handler() argument 94 assert (siginfo->si_signo == signo); in handler() 95 assert (siginfo->si_code == SI_TKILL); in handler() 96 assert (siginfo->si_pid == getpid ()); in handler()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | siginfo-threads.c | 90 handler (int signo, siginfo_t *siginfo, void *exception) in handler() argument 94 assert (siginfo->si_signo == signo); in handler() 95 assert (siginfo->si_code == SI_TKILL); in handler() 96 assert (siginfo->si_pid == getpid ()); in handler()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/lsan/ |
H A D | lsan.cc | 77 static void LsanOnDeadlySignal(int signo, void *siginfo, void *context) { in LsanOnDeadlySignal() argument 78 HandleDeadlySignal(siginfo, context, GetCurrentThread(), &OnStackUnwind, in LsanOnDeadlySignal()
|
H A D | lsan_posix.cpp | 89 void LsanOnDeadlySignal(int signo, void *siginfo, void *context) { in LsanOnDeadlySignal() argument 90 HandleDeadlySignal(siginfo, context, GetCurrentThread(), &OnStackUnwind, in LsanOnDeadlySignal()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
H A D | lsan.cc | 79 static void LsanOnDeadlySignal(int signo, void *siginfo, void *context) { in LsanOnDeadlySignal() argument 80 HandleDeadlySignal(siginfo, context, GetCurrentThread(), &OnStackUnwind, in LsanOnDeadlySignal()
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/lsan/ |
H A D | lsan.cc | 77 static void LsanOnDeadlySignal(int signo, void *siginfo, void *context) { in LsanOnDeadlySignal() argument 78 HandleDeadlySignal(siginfo, context, GetCurrentThread(), &OnStackUnwind, in LsanOnDeadlySignal()
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/ |
H A D | bgscan_simple.c | 138 struct wpa_signal_info siginfo; in bgscan_simple_init() local 139 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_simple_init() 140 siginfo.current_signal >= data->signal_threshold) in bgscan_simple_init()
|
/netbsd/external/mpl/bind/dist/lib/dns/ |
H A D | validator.c | 1119 dns_rdata_rrsig_t *siginfo = val->siginfo; in select_signing_key() local 1145 if (siginfo->algorithm == in select_signing_key() 1147 siginfo->keyid == in select_signing_key() 1185 dns_rdata_rrsig_t *siginfo = val->siginfo; in seek_dnskey() local 1554 if (val->siginfo == NULL) { in validate_answer() 1556 sizeof(*val->siginfo)); in validate_answer() 1569 val->siginfo->algorithm)) in validate_answer() 1597 val->siginfo->keyid); in validate_answer() 1612 event->sigrdataset, val->siginfo, in validate_answer() 3290 if (val->siginfo != NULL) { in destroy() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdbserver/ |
H A D | linux-arm-low.cc | 701 siginfo_t siginfo; in low_stopped_by_watchpoint() local 709 ptrace (PTRACE_GETSIGINFO, lwpid_of (current_thread), 0, &siginfo); in low_stopped_by_watchpoint() 714 if (siginfo.si_signo != SIGTRAP in low_stopped_by_watchpoint() 715 || (siginfo.si_code & 0xffff) != 0x0004 /* TRAP_HWBKPT */) in low_stopped_by_watchpoint() 720 if (siginfo.si_errno >= 0) in low_stopped_by_watchpoint() 725 = (CORE_ADDR) (uintptr_t) siginfo.si_addr; in low_stopped_by_watchpoint()
|
/netbsd/external/gpl3/gdb.old/dist/gdbserver/ |
H A D | linux-arm-low.cc | 701 siginfo_t siginfo; in low_stopped_by_watchpoint() local 709 ptrace (PTRACE_GETSIGINFO, lwpid_of (current_thread), 0, &siginfo); in low_stopped_by_watchpoint() 714 if (siginfo.si_signo != SIGTRAP in low_stopped_by_watchpoint() 715 || (siginfo.si_code & 0xffff) != 0x0004 /* TRAP_HWBKPT */) in low_stopped_by_watchpoint() 720 if (siginfo.si_errno >= 0) in low_stopped_by_watchpoint() 725 = (CORE_ADDR) (uintptr_t) siginfo.si_addr; in low_stopped_by_watchpoint()
|