Home
last modified time | relevance | path

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

12345

/external/strace/
Dprintsiginfo.c66 # define SI_FROMUSER(sip) ((sip)->si_code <= 0)
86 print_si_code(int si_signo, unsigned int si_code) in print_si_code() argument
88 const char *code = xlookup(siginfo_codes, si_code); in print_si_code()
93 code = xlookup(sigtrap_codes, si_code); in print_si_code()
96 code = xlookup(sigchld_codes, si_code); in print_si_code()
99 code = xlookup(sigpoll_codes, si_code); in print_si_code()
102 code = xlookup(sigprof_codes, si_code); in print_si_code()
105 code = xlookup(sigill_codes, si_code); in print_si_code()
109 code = xlookup(sigemt_codes, si_code); in print_si_code()
113 code = xlookup(sigfpe_codes, si_code); in print_si_code()
[all …]
/external/v8/src/base/debug/
Dstack_trace_posix.cc201 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler()
203 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler()
205 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler()
210 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler()
212 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler()
214 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler()
216 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler()
218 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler()
220 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler()
222 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler()
[all …]
/external/libchrome/base/debug/
Dstack_trace_posix.cc235 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler()
237 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler()
239 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler()
244 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler()
246 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler()
248 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler()
250 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler()
252 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler()
254 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler()
256 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler()
[all …]
/external/linux-kselftest/tools/testing/selftests/ptrace/
Dpeeksiginfo.c109 int si_code; in check_direct_path() local
113 si_code = TEST_SICODE_SHARE; in check_direct_path()
116 si_code = TEST_SICODE_PRIV; in check_direct_path()
131 if (siginfo[j].si_code == si_code && in check_direct_path()
136 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path()
178 siginfo->si_code = TEST_SICODE_SHARE; in main()
182 siginfo->si_code = TEST_SICODE_PRIV; in main()
/external/e2fsprogs/e2fsck/
Dsigcatcher.c341 if (siginfo->si_code == SI_USER) 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()
368 if ((siginfo->si_code != SI_USER) && in die_signal_handler()
/external/libchrome/sandbox/linux/services/
Dscoped_process.cc87 if (process_info.si_code == CLD_EXITED) { in WaitForExit()
89 } else if (process_info.si_code == CLD_KILLED || in WaitForExit()
90 process_info.si_code == CLD_DUMPED) { in WaitForExit()
94 << process_info.si_code; in WaitForExit()
/external/strace/tests-m32/
Dptrace.c255 sip->si_code = 1; in main()
266 sip->si_code = 1; in main()
281 sip->si_code = 1; in main()
292 sip->si_code = 1; in main()
303 sip->si_code = 1; in main()
315 sip->si_code = 0xbadc0ded; in main()
324 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main()
330 sip->si_code = 1; in main()
361 sip->si_code = SI_TIMER; in main()
Dqual_inject-signal.expected2 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_KERNEL} ---
/external/strace/tests-mx32/
Dptrace.c255 sip->si_code = 1; in main()
266 sip->si_code = 1; in main()
281 sip->si_code = 1; in main()
292 sip->si_code = 1; in main()
303 sip->si_code = 1; in main()
315 sip->si_code = 0xbadc0ded; in main()
324 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main()
330 sip->si_code = 1; in main()
361 sip->si_code = SI_TIMER; in main()
Dqual_inject-signal.expected2 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_KERNEL} ---
/external/strace/tests/
Dptrace.c255 sip->si_code = 1; in main()
266 sip->si_code = 1; in main()
281 sip->si_code = 1; in main()
292 sip->si_code = 1; in main()
303 sip->si_code = 1; in main()
315 sip->si_code = 0xbadc0ded; in main()
324 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main()
330 sip->si_code = 1; in main()
361 sip->si_code = SI_TIMER; in main()
Dqual_inject-signal.expected2 --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_KERNEL} ---
/external/valgrind/coregrind/
Dm_signals.c1589 static Bool is_signal_from_kernel(ThreadId tid, int signum, int si_code) in is_signal_from_kernel() argument
1596 return ( si_code > VKI_SI_USER ? True : False ); in is_signal_from_kernel()
1618 return ( si_code > 0 ? True : False ); in is_signal_from_kernel()
1703 sigNo, info->si_code, terminate ? "terminate" : "ignore", in default_action()
1730 || (could_core && is_signal_from_kernel(tid, sigNo, info->si_code)) in default_action()
1741 VG_(printf_xml)(" <sicode>%d</sicode>\n", info->si_code); in default_action()
1750 if (is_signal_from_kernel(tid, sigNo, info->si_code)) { in default_action()
1756 switch(info->si_code) { in default_action()
1781 switch(info->si_code) { in default_action()
1794 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/tests/
Drun-readelf-mixed-corenote.sh28 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
94 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4
159 info.si_signo: 4, info.si_code: 0, info.si_errno: 0, cursig: 4
231 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
253 si_signo: 11, si_errno: 0, si_code: 1
298 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
325 si_signo: 11, si_errno: 0, si_code: 1
438 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
454 si_signo: 11, si_errno: 0, si_code: 1
504 info.si_signo: 11, info.si_code: 0, info.si_errno: 0, cursig: 11
[all …]
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/ltp/testcases/kernel/containers/pidns/
Dpidns13.c132 if (info.si_fd == pipe_fd[0] && info.si_code == POLL_IN) in child_fn()
134 info.si_fd, info.si_code); in child_fn()
137 info.si_fd, info.si_code); in child_fn()
/external/valgrind/memcheck/tests/linux/
Dsigqueue.c23 offsetof(siginfo_t, si_code)); in main()
29 si->si_code = SI_QUEUE; in main()
/external/libbrillo/brillo/
Dprocess_reaper_unittest.cc79 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F()
102 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F()
123 EXPECT_EQ(CLD_KILLED, info.si_code); in TEST_F()
Dprocess_reaper.cc76 << " (code = " << info.si_code << ")"; in HandleSIGCHLD()
80 << info.si_status << " (code = " << info.si_code << ")"; in HandleSIGCHLD()
/external/ltp/testcases/kernel/syscalls/waitid/
Dwaitid01.c50 tst_resm(TINFO, "code = %d", infop->si_code); in display_status()
51 if (infop->si_code == CLD_EXITED) in display_status()
/external/kernel-headers/original/uapi/asm-generic/
Dsiginfo.h51 int si_code; member
180 #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
181 #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0)
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c219 static char *si_code_str(int si_code) in si_code_str() argument
221 if (si_code & SEGV_MAPERR) in si_code_str()
223 if (si_code & SEGV_ACCERR) in si_code_str()
225 if (si_code & SEGV_BNDERR) in si_code_str()
227 if (si_code & SEGV_PKUERR) in si_code_str()
257 trapno, ip, si_code_str(si->si_code), si->si_code); in signal_handler()
287 if ((si->si_code == SEGV_MAPERR) || in signal_handler()
288 (si->si_code == SEGV_ACCERR) || in signal_handler()
289 (si->si_code == SEGV_BNDERR)) { in signal_handler()
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/
Dsigwaitinfo01.c188 && si.si_code == SI_USER in test_unmasked_matching()
232 && si.si_code == SI_USER in test_masked_matching()
273 && si.si_code == SI_USER in test_masked_matching_rt()
280 && si.si_code == SI_USER in test_masked_matching_rt()
/external/valgrind/none/tests/
Dfaultstatus.stderr.exp-s390x4 Test 3: FAIL: expected si_code==2, not 128

12345