Searched refs:si_code (Results 1 - 25 of 46) sorted by relevance

12

/external/valgrind/main/memcheck/tests/linux/
H A Dsigqueue.c22 fprintf(stdout, "offsetof(siginfo_t, si_code) = %zd\n",
23 offsetof(siginfo_t, si_code));
29 si->si_code = SI_QUEUE;
/external/chromium_org/sandbox/linux/services/
H A Dscoped_process.cc87 if (process_info.si_code == CLD_EXITED) {
89 } else if (process_info.si_code == CLD_KILLED ||
90 process_info.si_code == CLD_DUMPED) {
93 CHECK(false) << "ScopedProcess needs to be extended for si_code "
94 << process_info.si_code;
H A Dinit_process_reaper.cc74 if (reaped_child_info.si_code == CLD_EXITED) {
/external/valgrind/main/none/tests/x86/
H A Dbadseg.c8 info->si_signo, info->si_code, (unsigned long)info->si_addr);
H A Dfaultstatus.c45 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code);
66 ok = ok && testcode(si->si_code, cur_test->code);
/external/e2fsprogs/e2fsck/
H A Dsigcatcher.c342 if (siginfo->si_code == SI_USER)
344 cp = lookup_table(siginfo->si_code, generic_code_table);
346 fprintf(stderr, "si_code=%s ", cp);
348 fprintf(stderr, "si_code=%s ",
349 lookup_table_fallback(siginfo->si_code,
352 fprintf(stderr, "si_code=%s ",
353 lookup_table_fallback(siginfo->si_code,
356 fprintf(stderr, "si_code=%s ",
357 lookup_table_fallback(siginfo->si_code,
360 fprintf(stderr, "si_code
[all...]
/external/valgrind/main/none/tests/linux/
H A Dblockfault.c9 info->si_signo, info->si_code, info->si_addr);
/external/chromium_org/base/debug/
H A Dstack_trace_posix.cc224 if (info->si_code == BUS_ADRALN)
226 else if (info->si_code == BUS_ADRERR)
228 else if (info->si_code == BUS_OBJERR)
233 if (info->si_code == FPE_FLTDIV)
235 else if (info->si_code == FPE_FLTINV)
237 else if (info->si_code == FPE_FLTOVF)
239 else if (info->si_code == FPE_FLTRES)
241 else if (info->si_code == FPE_FLTSUB)
243 else if (info->si_code == FPE_FLTUND)
245 else if (info->si_code
[all...]
/external/kernel-headers/original/uapi/asm-generic/
H A Dsiginfo.h51 int si_code; member in struct:siginfo
155 * si_code values
168 #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
169 #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
/external/strace/
H A Dsignal.c326 # define SI_FROMUSER(sip) ((sip)->si_code <= 0)
379 code = xlookup(siginfo_codes, sip->si_code);
383 code = xlookup(sigtrap_codes, sip->si_code);
386 code = xlookup(sigchld_codes, sip->si_code);
389 code = xlookup(sigpoll_codes, sip->si_code);
392 code = xlookup(sigprof_codes, sip->si_code);
395 code = xlookup(sigill_codes, sip->si_code);
399 code = xlookup(sigemt_codes, sip->si_code);
403 code = xlookup(sigfpe_codes, sip->si_code);
406 code = xlookup(sigsegv_codes, sip->si_code);
[all...]
/external/bison/lib/
H A Dwait-process.c227 /* info.si_code is set to one of CLD_EXITED, CLD_KILLED, CLD_DUMPED,
230 if (info.si_code == CLD_EXITED
231 || info.si_code == CLD_KILLED || info.si_code == CLD_DUMPED)
262 switch (info.si_code)
/external/compiler-rt/lib/asan/
H A Dasan_posix.cc37 int code = (int)((siginfo_t*)siginfo)->si_code;
46 // We also check si_code to filter out SEGV caused by something else other
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dsiginfo.h42 int si_code; member in struct:siginfo
113 * si_code values
/external/kernel-headers/original/uapi/linux/
H A Delfcore.h14 int si_code; /* extra code */ member in struct:elf_siginfo
/external/valgrind/main/none/tests/s390x/
H A Dtest_sig.c35 printf("si_code: %d\n", info->si_code);
/external/valgrind/main/coregrind/
H A Dm_signals.c1471 // The si_code describes where the signal came from. Some come from the
1476 // pass in some other details that can help when si_code is unreliable.
1477 static Bool is_signal_from_kernel(ThreadId tid, int signum, int si_code) argument
1484 return ( si_code > VKI_SI_USER ? True : False );
1487 // On Darwin 9.6.0, the si_code is completely unreliable. It should be the
1506 return ( si_code > 0 ? True : False );
1520 // This is an arbitrary si_code that we only use internally. It corresponds
1583 sigNo, info->si_code, terminate ? "terminate" : "ignore",
1602 (could_core && is_signal_from_kernel(tid, sigNo, info->si_code))
1611 if (is_signal_from_kernel(tid, sigNo, info->si_code)) {
1866 synth_fault_common(ThreadId tid, Addr addr, Int si_code) argument
2105 sanitize_si_code(int si_code) argument
[all...]
/external/valgrind/main/none/tests/mips32/
H A DSignalException.c33 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code);
44 ok = ok && testcode(si->si_code, curr_test->code);
/external/lldb/source/Plugins/Process/elf-core/
H A DThreadElfCore.h35 int32_t si_code; member in struct:ELFLinuxPrStatus
/external/valgrind/main/none/tests/amd64/
H A Dfaultstatus.c42 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code);
63 ok = ok && testcode(si->si_code, cur_test->code);
/external/valgrind/main/none/tests/
H A Dfaultstatus.c65 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code);
92 ok = ok && testcode(si->si_code, cur_test->code);
/external/elfutils/0.153/backends/
H A Dlinux-core-note.c48 FIELD (INT, si_code);
120 FIELD (signal, INT, info.si_code, 'd'),
/external/valgrind/main/coregrind/m_sigframe/
H A Dsigframe-amd64-darwin.c151 frame->fake_siginfo.si_code = siginfo->si_code;
H A Dsigframe-x86-darwin.c160 frame->fake_siginfo.si_code = siginfo->si_code;
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
H A Dsignal.h57 /* si_code values, p. 66 */
67 int si_code; /* Cause of the signal */ member in struct:__anon8935
/external/lldb/source/Plugins/Process/Linux/
H A DProcessMonitor.cpp1483 switch (info->si_code)
1497 log->Printf ("ProcessMonitor::%s() received thread creation event, code = %d", __FUNCTION__, info->si_code ^ SIGTRAP);
1573 if (info->si_code == SI_TKILL || info->si_code == SI_USER)
1579 (info->si_code == SI_TKILL ? "SI_TKILL" : "SI_USER"),
1748 if (wait_pid == tid && WIFSTOPPED(status) && WSTOPSIG(status) == SIGSTOP && info.si_code == SI_TKILL)
1786 switch (info->si_code)
1789 assert(false && "unexpected si_code for SIGSEGV");
1810 switch (info->si_code)
1813 assert(false && "unexpected si_code fo
[all...]

Completed in 9117 milliseconds

12