Home
last modified time | relevance | path

Searched refs:si_code (Results 1 – 25 of 48) sorted by relevance

12

/external/strace/
Dprintsiginfo.c19 # define SI_FROMUSER(sip) ((sip)->si_code <= 0)
42 print_si_code(int si_signo, int si_code) in print_si_code() argument
44 const char *code = xlookup(siginfo_codes, si_code); in print_si_code()
49 code = xlookup(sigtrap_codes, si_code); in print_si_code()
52 code = xlookup(sigchld_codes, si_code); in print_si_code()
55 code = xlookup(sigpoll_codes, si_code); in print_si_code()
58 code = xlookup(sigprof_codes, si_code); in print_si_code()
61 code = xlookup(sigill_codes, si_code); in print_si_code()
65 code = xlookup(sigemt_codes, si_code); in print_si_code()
69 code = xlookup(sigfpe_codes, si_code); in print_si_code()
[all …]
/external/e2fsprogs/e2fsck/
Dsigcatcher.c342 if (siginfo->si_code == SI_USER) in die_signal_handler()
344 cp = lookup_table(siginfo->si_code, generic_code_table); in die_signal_handler()
349 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
353 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
357 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
361 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
365 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
368 fprintf(stderr, "si code=%d ", siginfo->si_code); in die_signal_handler()
369 if ((siginfo->si_code != SI_USER) && in die_signal_handler()
/external/valgrind/coregrind/
Dm_signals.c1518 static Bool is_signal_from_kernel(ThreadId tid, int signum, int si_code) in is_signal_from_kernel() argument
1525 return ( si_code > VKI_SI_USER ? True : False ); in is_signal_from_kernel()
1547 return ( si_code > 0 ? True : False ); in is_signal_from_kernel()
1624 sigNo, info->si_code, terminate ? "terminate" : "ignore", in default_action()
1643 (could_core && is_signal_from_kernel(tid, sigNo, info->si_code)) in default_action()
1652 if (is_signal_from_kernel(tid, sigNo, info->si_code)) { in default_action()
1658 switch(info->si_code) { in default_action()
1683 switch(info->si_code) { in default_action()
1696 switch (info->si_code) { in default_action()
1709 switch (info->si_code) { in default_action()
[all …]
/external/bison/lib/
Dwait-process.c230 if (info.si_code == CLD_EXITED in wait_subprocess()
231 || info.si_code == CLD_KILLED || info.si_code == CLD_DUMPED) in wait_subprocess()
262 switch (info.si_code) in wait_subprocess()
/external/elfutils/src/tests/
Drun-readelf-mixed-corenote.sh27 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
93 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4
158 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4
230 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
252 si_signo: 11, si_errno: 0, si_code: 1
297 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
324 si_signo: 11, si_errno: 0, si_code: 1
437 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
453 si_signo: 11, si_errno: 0, si_code: 1
Drun-readelf-vmcoreinfo.sh27 info.si_signo: 0, info.si_code: 0, info.si_errno: 0, cursig: 0
45 info.si_signo: 0, info.si_code: 0, info.si_errno: 0, cursig: 0
/external/valgrind/memcheck/tests/linux/
Dsigqueue.c23 offsetof(siginfo_t, si_code)); in main()
29 si->si_code = SI_QUEUE; in main()
/external/kernel-headers/original/uapi/asm-generic/
Dsiginfo.h51 int si_code; member
168 #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
169 #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
/external/valgrind/none/tests/
Dfaultstatus.stderr.exp-s390x4 Test 3: FAIL: expected si_code==2, not 128
/external/valgrind/none/tests/x86/
Dbadseg.c8 info->si_signo, info->si_code, (unsigned long)info->si_addr); in handler()
/external/valgrind/coregrind/m_sigframe/
Dsigframe-amd64-darwin.c137 frame->fake_siginfo.si_code = siginfo->si_code; in VG_()
Dsigframe-x86-darwin.c140 frame->fake_siginfo.si_code = siginfo->si_code; in VG_()
/external/valgrind/none/tests/linux/
Dblockfault.c9 info->si_signo, info->si_code, info->si_addr); in handler()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc415 bool signal_trusted = info->si_code > 0; in HandleSignal()
416 bool signal_pid_trusted = info->si_code == SI_USER || in HandleSignal()
417 info->si_code == SI_TKILL; in HandleSignal()
459 siginfo.si_code = SI_USER; in SimulateSignalDelivery()
/external/strace/tests/
Dpc.test28 \\[pid +$pid\\] \\[$ip\\] --- SIGSEGV \\{si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x$addr\\} …
/external/kernel-headers/original/uapi/linux/
Delfcore.h14 int si_code; /* extra code */ member
/external/google-breakpad/src/common/android/include/sys/
Dprocfs.h68 int si_code; member
/external/valgrind/none/tests/s390x/
Dtest_sig.c35 printf("si_code: %d\n", info->si_code); in handle_rt_SIG()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dsiginfo.h42 int si_code; member
/external/lldb/source/Plugins/Process/Linux/
DProcessMonitor.cpp1483 switch (info->si_code) in MonitorSIGTRAP()
1497 …ssMonitor::%s() received thread creation event, code = %d", __FUNCTION__, info->si_code ^ SIGTRAP); in MonitorSIGTRAP()
1573 if (info->si_code == SI_TKILL || info->si_code == SI_USER) in MonitorSignal()
1579 (info->si_code == SI_TKILL ? "SI_TKILL" : "SI_USER"), in MonitorSignal()
1748 … (wait_pid == tid && WIFSTOPPED(status) && WSTOPSIG(status) == SIGSTOP && info.si_code == SI_TKILL) in StopThread()
1786 switch (info->si_code) in GetCrashReasonForSIGSEGV()
1810 switch (info->si_code) in GetCrashReasonForSIGILL()
1852 switch (info->si_code) in GetCrashReasonForSIGFPE()
1894 switch (info->si_code) in GetCrashReasonForSIGBUS()
/external/elfutils/src/backends/
Dlinux-core-note.c54 FIELD (INT, si_code); in EBLHOOK()
133 FIELD (signal, INT, info.si_code, 'd'),
/external/compiler-rt/lib/asan/
Dasan_posix.cc38 int code = (int)((siginfo_t*)siginfo)->si_code; in AsanOnSIGSEGV()
/external/valgrind/none/tests/mips32/
DSignalException.c44 ok = ok && testcode(si->si_code, curr_test->code); in handler()
/external/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp1156 switch (info->si_code) in MonitorSIGTRAP()
1211 if (info->si_code == SI_USER) in MonitorSignal()
1265 switch (info->si_code) in GetCrashReasonForSIGSEGV()
1289 switch (info->si_code) in GetCrashReasonForSIGILL()
1331 switch (info->si_code) in GetCrashReasonForSIGFPE()
1373 switch (info->si_code) in GetCrashReasonForSIGBUS()
/external/lldb/source/Plugins/Process/elf-core/
DThreadElfCore.h35 int32_t si_code; member

12