/external/linux-kselftest/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 108 siginfo_t siginfo[SIGNR]; in check_direct_path() local 121 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path() 131 if (siginfo[j].si_code == si_code && in check_direct_path() 132 siginfo[j].si_int == i) in check_direct_path() 136 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path() 153 siginfo_t siginfo[SIGNR]; in main() local 178 siginfo->si_code = TEST_SICODE_SHARE; in main() 179 siginfo->si_int = i; in main() 180 sys_rt_sigqueueinfo(child, SIGRTMIN, siginfo); in main() 182 siginfo->si_code = TEST_SICODE_PRIV; in main() [all …]
|
/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-solaris.c | 58 Addr sp_top_of_frame, const vki_siginfo_t *siginfo, in VG_() 66 Int signo = siginfo->si_signo; in VG_() 88 frame->siginfo = *siginfo; in VG_() 116 switch (siginfo->si_code) { in VG_() 123 frame->siginfo.si_code = VKI_SEGV_MAPERR; in VG_() 132 frame->siginfo.si_addr = (void*)VG_(get_IP)(tid); in VG_() 135 frame->siginfo.si_faddr = (void*)VG_(get_IP)(tid); in VG_() 140 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, (Addr)&frame->siginfo, in VG_() 141 sizeof(frame->siginfo)); in VG_() 174 frame->a2_siginfo = &frame->siginfo; in VG_() [all …]
|
D | sigframe-ppc32-linux.c | 115 vki_siginfo_t siginfo; member 629 const vki_siginfo_t *siginfo, in VG_() 639 Int sigNo = siginfo->si_signo; in VG_() 665 faultaddr = (Addr)siginfo->_sifields._sigfault._addr; in VG_() 666 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in VG_() 674 (Addr)&frame->siginfo, sizeof(frame->siginfo) ); in VG_() 675 VG_(memcpy)(&frame->siginfo, siginfo, sizeof(*siginfo)); in VG_() 677 (Addr)&frame->siginfo, sizeof(frame->siginfo) ); in VG_() 699 SET_SIGNAL_GPR(tid, 4, (Addr) &frame->siginfo); in VG_() 702 SET_SIGNAL_GPR(tid, 6, (Addr) &frame->siginfo); in VG_()
|
D | sigframe-arm-linux.c | 125 const vki_siginfo_t *siginfo, in build_sigframe() argument 133 Int sigNo = siginfo->si_signo; in build_sigframe() 147 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &frame->uc); in build_sigframe() 166 const vki_siginfo_t *siginfo, in VG_() 176 Int sigNo = siginfo->si_signo; in VG_() 200 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t)); in VG_() 202 if(sigNo == VKI_SIGILL && siginfo->si_code > 0) { in VG_() 208 build_sigframe(tst, &rsf->sig, siginfo, siguc, in VG_() 214 build_sigframe(tst, (struct sigframe *)sp, siginfo, siguc, in VG_()
|
D | sigframe-arm64-linux.c | 118 const vki_siginfo_t *siginfo, in build_sigframe() argument 126 Int sigNo = siginfo->si_signo; in build_sigframe() 140 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &frame->uc); in build_sigframe() 157 const vki_siginfo_t *siginfo, in VG_() 166 Int sigNo = siginfo->si_signo; in VG_() 186 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t)); in VG_() 188 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) { in VG_() 195 build_sigframe(tst, &rsf->sig, siginfo, siguc, in VG_()
|
D | sigframe-x86-linux.c | 417 const vki_siginfo_t *siginfo, in build_sigframe() argument 425 Int sigNo = siginfo->si_signo; in build_sigframe() 458 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &uc, &frame->fpstate); in build_sigframe() 475 const vki_siginfo_t *siginfo, in build_rt_sigframe() argument 483 Int sigNo = siginfo->si_signo; in build_rt_sigframe() 517 VG_(memcpy)(&frame->sigInfo, siginfo, sizeof(vki_siginfo_t)); in build_rt_sigframe() 520 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in build_rt_sigframe() 524 synth_ucontext(tst->tid, siginfo, trapno, err, mask, in build_rt_sigframe() 540 const vki_siginfo_t *siginfo, in VG_() 551 esp = build_rt_sigframe(tst, esp_top_of_frame, siginfo, siguc, in VG_() [all …]
|
D | sigframe-amd64-linux.c | 398 const vki_siginfo_t *siginfo, in build_rt_sigframe() argument 406 Int sigNo = siginfo->si_signo; in build_rt_sigframe() 434 VG_(memcpy)(&frame->sigInfo, siginfo, sizeof(vki_siginfo_t)); in build_rt_sigframe() 437 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in build_rt_sigframe() 441 synth_ucontext(tst->tid, siginfo, trapno, err, mask, in build_rt_sigframe() 456 const vki_siginfo_t *siginfo, in VG_() 467 rsp = build_rt_sigframe(tst, rsp_top_of_frame, siginfo, siguc, in VG_() 478 tst->arch.vex.guest_RDI = (ULong) siginfo->si_signo; in VG_()
|
D | sigframe-s390x-linux.c | 284 const vki_siginfo_t *siginfo, in build_sigframe() argument 309 frame->sigNo = siginfo->si_signo; in build_sigframe() 326 SET_SIGNAL_GPR(tst, 2, siginfo->si_signo); in build_sigframe() 336 build_vg_sigframe(&frame->vg, tst, flags, siginfo->si_signo); in build_sigframe() 343 const vki_siginfo_t *siginfo, in build_rt_sigframe() argument 351 Int sigNo = siginfo->si_signo; in build_rt_sigframe() 384 VG_(memcpy)(&frame->info, siginfo, sizeof(vki_siginfo_t)); in build_rt_sigframe() 390 SET_SIGNAL_GPR(tst, 2, siginfo->si_signo); in build_rt_sigframe() 408 const vki_siginfo_t *siginfo, in VG_() 419 sp = build_rt_sigframe(tst, sp_top_of_frame, siginfo, siguc, in VG_() [all …]
|
D | sigframe-mips32-linux.c | 126 const vki_siginfo_t *siginfo, in VG_() 135 Int sigNo = siginfo->si_signo; in VG_() 166 VG_(memcpy)(&frame->rs_info, siginfo, sizeof(*siginfo)); in VG_() 183 setup_sigcontext2(tst, &(scp), siginfo); in VG_() 200 tst->arch.vex.guest_r4 = siginfo->si_signo; in VG_() 222 setup_sigcontext2(tst, &(scp), siginfo); in VG_() 235 tst->arch.vex.guest_r4 = siginfo->si_signo; in VG_()
|
D | sigframe-tilegx-linux.c | 141 const vki_siginfo_t *siginfo, in VG_() 151 Int sigNo = siginfo->si_signo; in VG_() 167 faultaddr = (Addr)siginfo->_sifields._sigfault._addr; in VG_() 168 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in VG_() 180 VG_(memcpy)(&frame->rs_info, siginfo, sizeof(*siginfo)); in VG_() 197 setup_sigcontext2(tst, &(scp), siginfo); in VG_() 213 tst->arch.vex.guest_r0 = siginfo->si_signo; in VG_()
|
D | sigframe-mips64-linux.c | 121 const vki_siginfo_t *siginfo, in VG_() 130 Int sigNo = siginfo->si_signo; in VG_() 151 VG_(memcpy)(&frame->rs_info, siginfo, sizeof(*siginfo)); in VG_() 168 setup_sigcontext(tst, &(scp), siginfo); in VG_() 181 tst->arch.vex.guest_r4 = siginfo->si_signo; in VG_()
|
D | sigframe-ppc64-linux.c | 139 const vki_siginfo_t *siginfo, in VG_() 149 Int sigNo = siginfo->si_signo; in VG_() 192 VG_(memcpy)(&frame->info, siginfo, sizeof(*siginfo)); in VG_()
|
D | sigframe-x86-darwin.c | 138 const vki_siginfo_t *siginfo, in VG_() 148 Int sigNo = siginfo->si_signo; in VG_() 183 frame->fake_siginfo = *siginfo; in VG_()
|
/external/e2fsprogs/e2fsck/ |
D | sigcatcher.c | 334 static void die_signal_handler(int signum, siginfo_t *siginfo, in die_signal_handler() argument 341 if (siginfo->si_code == SI_USER) in die_signal_handler() 342 fprintf(stderr, "(sent from pid %u) ", siginfo->si_pid); in die_signal_handler() 343 cp = lookup_table(siginfo->si_code, generic_code_table); in die_signal_handler() 348 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 352 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 356 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 360 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 364 lookup_table_fallback(siginfo->si_code, in die_signal_handler() 367 fprintf(stderr, "si code=%d ", siginfo->si_code); in die_signal_handler() [all …]
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler.cc | 424 memcpy(&context.siginfo, info, sizeof(siginfo_t)); in HandleSignal() 456 siginfo_t siginfo = {}; in SimulateSignalDelivery() local 459 siginfo.si_code = SI_USER; in SimulateSignalDelivery() 460 siginfo.si_pid = getpid(); in SimulateSignalDelivery() 463 return HandleSignal(sig, &siginfo, &context); in SimulateSignalDelivery() 664 memset(&context.siginfo, 0, sizeof(context.siginfo)); in WriteMinidump() 665 context.siginfo.si_signo = MD_EXCEPTION_CODE_LIN_DUMP_REQUESTED; in WriteMinidump() 667 context.siginfo.si_addr = in WriteMinidump() 670 context.siginfo.si_addr = in WriteMinidump() 673 context.siginfo.si_addr = in WriteMinidump() [all …]
|
/external/valgrind/helgrind/tests/ |
D | safe-pthread.h | 15 static void sigill_handler( int signum, siginfo_t *siginfo, void *sigcontext ) { in sigill_handler() argument 16 unsigned char *pc = siginfo->si_addr; in sigill_handler() 27 static void segv_handler( int signum, siginfo_t *siginfo, void *sigcontext ) { in segv_handler() argument
|
/external/compiler-rt/lib/asan/ |
D | asan_posix.cc | 36 void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { in AsanOnDeadlySignal() argument 38 int code = (int)((siginfo_t*)siginfo)->si_code; in AsanOnDeadlySignal() 42 SignalContext sig = SignalContext::Create(siginfo, context); in AsanOnDeadlySignal()
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | ptrace.cc | 115 siginfo_t siginfo; in main() local 116 res = ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo); in main() 118 assert(siginfo.si_pid == pid); in main()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | allow_user_segv.cc | 14 void User_OnSIGSEGV(int signum, siginfo_t *siginfo, void *context) { in User_OnSIGSEGV() argument 26 original_sigaction.sa_sigaction(signum, siginfo, context); in User_OnSIGSEGV()
|
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | memtoy.c | 175 gcp->siginfo = &infocopy; in signal_handler() 249 glctx.siginfo = NULL; in reset_signal() 267 siginfo_t *info = gcp->siginfo; in show_siginfo() 353 if (gcp->siginfo != NULL) { in touch_memory()
|
D | memtoy.h | 47 siginfo_t *siginfo; /* signal info, if signalled != 0 */ member 80 #define signalled(GCP) (GCP->siginfo != NULL)
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | signal.h | 7 struct siginfo; 101 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | signal.h | 10 struct siginfo; 105 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
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()
|
/external/ltp/testcases/kernel/sched/process_stress/ |
D | process.c | 790 } siginfo[] = { local 821 for (i = 0; siginfo[i].signum != -1; i++) { 823 sigaddset(&action.sa_mask, siginfo[i].signum); 825 SIGADDSET(action.sa_mask, siginfo[i].signum); 827 rc = sigaction(siginfo[i].signum, &action, NULL); 829 sprintf(tmpstr, "sigaction: %s\n", siginfo[i].signame); 833 siginfo[i].signame, errno);
|