Home
last modified time | relevance | path

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

1234

/external/strace/
Dprintsiginfo.c68 # define SI_FROMUSER(sip) ((sip)->si_code <= 0)
88 print_si_code(int si_signo, unsigned int si_code) in print_si_code() argument
90 const char *code = xlookup(siginfo_codes, si_code); in print_si_code()
95 code = xlookup(sigtrap_codes, si_code); in print_si_code()
98 code = xlookup(sigchld_codes, si_code); in print_si_code()
101 code = xlookup(sigpoll_codes, si_code); in print_si_code()
104 code = xlookup(sigprof_codes, si_code); in print_si_code()
107 code = xlookup(sigill_codes, si_code); in print_si_code()
111 code = xlookup(sigemt_codes, si_code); in print_si_code()
115 code = xlookup(sigfpe_codes, si_code); in print_si_code()
[all …]
/external/v8/src/base/debug/
Dstack_trace_posix.cc200 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler()
202 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler()
204 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler()
209 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler()
211 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler()
213 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler()
215 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler()
217 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler()
219 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler()
221 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
Dsegv_errors.c23 static int si_code; variable
31 si_code = info->si_code; in segv_handler()
49 si_code = 0; in test_segv_errors()
60 FAIL_IF(si_code != SEGV_ACCERR); in test_segv_errors()
63 si_code = 0; in test_segv_errors()
70 FAIL_IF(si_code != SEGV_ACCERR); in test_segv_errors()
/external/v8/src/trap-handler/
Dhandler-inside-linux.cc38 return info->si_code > 0 && info->si_code != SI_USER && in IsKernelGeneratedSignal()
39 info->si_code != SI_QUEUE && info->si_code != SI_TIMER && in IsKernelGeneratedSignal()
40 info->si_code != SI_ASYNCIO && info->si_code != SI_MESGQ; in IsKernelGeneratedSignal()
/external/libchrome/base/debug/
Dstack_trace_posix.cc264 if (info->si_code == BUS_ADRALN) in StackDumpSignalHandler()
266 else if (info->si_code == BUS_ADRERR) in StackDumpSignalHandler()
268 else if (info->si_code == BUS_OBJERR) in StackDumpSignalHandler()
273 if (info->si_code == FPE_FLTDIV) in StackDumpSignalHandler()
275 else if (info->si_code == FPE_FLTINV) in StackDumpSignalHandler()
277 else if (info->si_code == FPE_FLTOVF) in StackDumpSignalHandler()
279 else if (info->si_code == FPE_FLTRES) in StackDumpSignalHandler()
281 else if (info->si_code == FPE_FLTSUB) in StackDumpSignalHandler()
283 else if (info->si_code == FPE_FLTUND) in StackDumpSignalHandler()
285 else if (info->si_code == FPE_INTDIV) in StackDumpSignalHandler()
[all …]
/external/linux-kselftest/tools/testing/selftests/ptrace/
Dpeeksiginfo.c110 int si_code; in check_direct_path() local
114 si_code = TEST_SICODE_SHARE; in check_direct_path()
117 si_code = TEST_SICODE_PRIV; in check_direct_path()
132 if (siginfo[j].si_code == si_code && in check_direct_path()
137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path()
179 siginfo->si_code = TEST_SICODE_SHARE; in main()
183 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/strace/tests/
Dptrace.c276 sip->si_code = 1; in main()
287 sip->si_code = 1; in main()
302 sip->si_code = 1; in main()
313 sip->si_code = 1; in main()
324 sip->si_code = 1; in main()
336 sip->si_code = 0xbadc0ded; in main()
345 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main()
351 sip->si_code = 1; in main()
382 sip->si_code = SI_TIMER; in main()
/external/strace/tests-m32/
Dptrace.c276 sip->si_code = 1; in main()
287 sip->si_code = 1; in main()
302 sip->si_code = 1; in main()
313 sip->si_code = 1; in main()
324 sip->si_code = 1; in main()
336 sip->si_code = 0xbadc0ded; in main()
345 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main()
351 sip->si_code = 1; in main()
382 sip->si_code = SI_TIMER; in main()
/external/strace/tests-mx32/
Dptrace.c276 sip->si_code = 1; in main()
287 sip->si_code = 1; in main()
302 sip->si_code = 1; in main()
313 sip->si_code = 1; in main()
324 sip->si_code = 1; in main()
336 sip->si_code = 0xbadc0ded; in main()
345 (unsigned) pid, bad_request, sip->si_code, sip->si_errno, in main()
351 sip->si_code = 1; in main()
382 sip->si_code = SI_TIMER; in main()
/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/kernel-headers/original/uapi/asm-generic/
Dsiginfo.h116 int si_code; \
123 int si_code; \
179 #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0)
180 #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 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()
Dpidns30.c133 if (si->si_code != SI_MESGQ) { in child_signal_handler()
135 si->si_code); in child_signal_handler()
/external/ltp/testcases/kernel/syscalls/rt_tgsigqueueinfo/
Drt_tgsigqueueinfo01.c53 uinfo.si_code = SI_QUEUE; in send_rcv_func()
115 uinfo.si_code = SI_QUEUE; in verify_signal_parent_thread()
132 uinfo.si_code = SI_QUEUE; in sender_func()
/external/libbrillo/brillo/
Dprocess_reaper_unittest.cc79 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F()
97 EXPECT_EQ(CLD_EXITED, info.si_code); in TEST_F()
115 EXPECT_EQ(CLD_KILLED, info.si_code); in TEST_F()
Dprocess_reaper.cc75 << " (code = " << info.si_code << ")"; in HandleSIGCHLD()
79 << 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/honggfuzz/netbsd/
Dtrace.c118 #define SI_FROMUSER(siptr) ((siptr)->si_code == SI_USER)
349 pid, info.psi_siginfo.si_signo, info.psi_siginfo.si_errno, info.psi_siginfo.si_code, in arch_traceSaveData()
479 info.psi_siginfo.si_code, sig_addr, instr, run->global->io.fileExtn); in arch_traceSaveData()
486 info.psi_siginfo.si_code, sig_addr, instr, localtmstr, pid, run->global->io.fileExtn); in arch_traceSaveData()
529 switch (info.psi_siginfo.si_code) { in arch_traceEvent()
590 LOG_D("PID: %d other trap si_code=%d", pid, info.psi_siginfo.si_code); in arch_traceEvent()
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c245 static char *si_code_str(int si_code) in si_code_str() argument
247 if (si_code == SEGV_MAPERR) in si_code_str()
249 if (si_code == SEGV_ACCERR) in si_code_str()
251 if (si_code == SEGV_BNDERR) in si_code_str()
253 if (si_code == SEGV_PKUERR) in si_code_str()
283 trapno, ip, si_code_str(si->si_code), si->si_code); in signal_handler()
306 if ((si->si_code == SEGV_MAPERR) || in signal_handler()
307 (si->si_code == SEGV_ACCERR) || in signal_handler()
308 (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()
278 && si.si_code == SI_USER in test_masked_matching_rt()
285 && si.si_code == SI_USER in test_masked_matching_rt()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-syscall.c49 if (si.si_code != CLD_TRAPPED) in wait_trap()
50 errx(1, "got unexpected event type %d\n", si.si_code); in wait_trap()
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c188 if (siginfo.si_code != TRAP_HWBKPT) { in run_test()
190 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
/external/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify01.c101 cmp_ok = si->si_code == SI_MESGQ && in sigfunc()
183 info.si_code, SI_MESGQ); in do_test()

1234