Home
last modified time | relevance | path

Searched refs:signo (Results 1 – 25 of 57) sorted by relevance

123

/external/google-breakpad/src/client/solaris/handler/
Dexception_handler.cc143 void ExceptionHandler::SetupHandler(int signo) { in SetupHandler() argument
147 if (sigaction(signo, &act, &old_act) < 0) in SetupHandler()
149 old_handlers_[signo] = old_act.sa_handler; in SetupHandler()
152 void ExceptionHandler::TeardownHandler(int signo) { in TeardownHandler() argument
153 if (old_handlers_.find(signo) != old_handlers_.end()) { in TeardownHandler()
155 act.sa_handler = old_handlers_[signo]; in TeardownHandler()
157 sigaction(signo, &act, 0); in TeardownHandler()
168 void ExceptionHandler::HandleException(int signo) { in HandleException() argument
189 current_handler->TeardownHandler(signo); in HandleException()
192 if (current_handler->InternalWriteMinidump(signo, current_ebp, &sig_ctx)) { in HandleException()
[all …]
Dexception_handler.h140 void SetupHandler(int signo);
142 void TeardownHandler(int signo);
150 static void HandleException(int signo);
159 bool InternalWriteMinidump(int signo, uintptr_t sighandler_ebp,
Dminidump_generator.h63 int signo,
Dminidump_generator.cc67 int signo; member
590 exception.get()->exception_record.exception_code = writer_args->signo; in WriteExceptionStream()
754 int signo, in WriteMinidumpToFile() argument
774 argument.signo = signo; in WriteMinidumpToFile()
/external/valgrind/coregrind/m_sigframe/
Dsigframe-solaris.c66 Int signo = siginfo->si_signo; in VG_() local
114 switch (signo) { in VG_()
146 VKI_UC_SIGNO(&frame->ucontext) = signo | ((~(UWord)signo & 0xFFFF) << 16); in VG_()
164 frame->a1_signo = signo; in VG_()
182 tst->arch.vex.guest_RDI = signo; in VG_()
237 Int signo; in VG_() local
240 signo = VKI_UC_SIGNO_CONST(uc) & 0xFFFF; in VG_()
241 if (!signo || signo != ((~VKI_UC_SIGNO_CONST(uc) >> 16) & 0xFFFF)) in VG_()
263 VG_TRACK(post_deliver_signal, tid, signo); in VG_()
/external/libedit/src/
Dsig.c69 sig_handler(int signo) in sig_handler() argument
75 (void) sigaddset(&nset, signo); in sig_handler()
78 sel->el_signal->sig_no = signo; in sig_handler()
80 switch (signo) { in sig_handler()
98 if (signo == sighdl[i]) in sig_handler()
101 (void) sigaction(signo, &sel->el_signal->sig_action[i], NULL); in sig_handler()
106 (void) kill(0, signo); in sig_handler()
/external/valgrind/coregrind/
Dm_libcsignal.c347 Int VG_(kill)( Int pid, Int signo ) in VG_()
350 SysRes res = VG_(do_syscall2)(__NR_kill, pid, signo); in VG_()
353 pid, signo, 1/*posix-compliant*/); in VG_()
360 Int VG_(tkill)( Int lwpid, Int signo ) in VG_()
364 res = VG_(do_syscall2)(__NR_tkill, lwpid, signo); in VG_()
366 res = VG_(do_syscall2)(__NR_kill, lwpid, signo); in VG_()
372 res = VG_(do_syscall2)(__NR___pthread_kill, lwpid, signo); in VG_()
379 res = VG_(do_syscall6)(__NR_lwp_sigqueue, 0, lwpid, signo, in VG_()
382 res = VG_(do_syscall5)(__NR_lwp_sigqueue, lwpid, signo, in VG_()
386 res = VG_(do_syscall2)(__NR_lwp_kill, lwpid, signo); in VG_()
Dm_signals.c1188 SysRes VG_(do_sys_sigaction) ( Int signo, in VG_()
1195 signo, (UWord)new_act, (UWord)old_act, in VG_()
1203 if (signo < 1 || signo > VG_(max_signal)) goto bad_signo; in VG_()
1206 if ( (signo > VG_SIGVGRTUSERMAX) in VG_()
1213 if ( (signo == VKI_SIGKILL || signo == VKI_SIGSTOP) in VG_()
1221 old_act->ksa_handler = scss.scss_per_sig[signo].scss_handler; in VG_()
1222 old_act->sa_flags = scss.scss_per_sig[signo].scss_flags; in VG_()
1223 old_act->sa_mask = scss.scss_per_sig[signo].scss_mask; in VG_()
1226 old_act->sa_restorer = scss.scss_per_sig[signo].scss_restorer; in VG_()
1232 scss.scss_per_sig[signo].scss_handler = new_act->ksa_handler; in VG_()
[all …]
Dpub_core_libcsignal.h78 extern Int VG_(kill) ( Int pid, Int signo );
79 extern Int VG_(tkill) ( Int lwpid, Int signo );
Dpub_core_signals.h60 extern SysRes VG_(do_sys_sigaction) ( Int signo,
/external/compiler-rt/lib/asan/
Dasan_posix.cc36 void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { in AsanOnDeadlySignal() argument
78 else if (signo == SIGFPE) in AsanOnDeadlySignal()
80 else if (signo == SIGILL) in AsanOnDeadlySignal()
/external/valgrind/none/tests/amd64/
Dssse3_misaligned.c19 void handler ( int signo ) in handler() argument
21 assert(signo == SIGSEGV); in handler()
/external/valgrind/none/tests/x86/
Dssse3_misaligned.c19 void handler ( int signo ) in handler() argument
21 assert(signo == SIGSEGV); in handler()
/external/compiler-rt/test/asan/TestCases/Linux/
Dsignal_during_stop_the_world.cc18 static void handler(int signo);
53 static void handler(int signo) { in handler() argument
/external/compiler-rt/test/msan/
Dsignal_stress_test.cc27 void SignalHandler(int signo) { in SignalHandler() argument
28 assert(signo == SIGPROF); in SignalHandler()
Dchained_origin_with_signals.cc20 void SignalHandler(int signo) { in SignalHandler() argument
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc1153 static void SignalHandler(int signo) { in SignalHandler() argument
1160 (signal_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalHandler()
1161 cb(signo); in SignalHandler()
1164 static void SignalAction(int signo, void *si, void *uc) { in SignalAction() argument
1173 (sigaction_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalAction()
1174 cb(signo, si, uc); in SignalAction()
1177 INTERCEPTOR(int, sigaction, int signo, const __sanitizer_sigaction *act, in INTERCEPTOR() argument
1185 CHECK_LT(signo, kMaxSignals); in INTERCEPTOR()
1186 uptr old_cb = atomic_load(&sigactions[signo], memory_order_relaxed); in INTERCEPTOR()
1196 atomic_store(&sigactions[signo], cb, memory_order_relaxed); in INTERCEPTOR()
[all …]
/external/elfutils/tests/
Dbacktrace-child.c109 sigusr2 (int signo) in sigusr2() argument
111 assert (signo == SIGUSR2); in sigusr2()
/external/valgrind/memcheck/tests/
Dsignal2.c7 void sig_hdlr ( int signo ) { in sig_hdlr() argument
/external/iputils/
Dping_common.h210 static inline void set_signal(int signo, void (*handler)(int)) in set_signal() argument
220 sigaction(signo, &sa, NULL); in set_signal()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_segv_handler.cc26 void handler(int signo, siginfo_t *info, void *uctx) { in handler() argument
/external/valgrind/none/tests/
Dpth_blockedsig.c59 sig_usr1 (int signo) in sig_usr1() argument
/external/libmicrohttpd/src/examples/
Dspdy_event_loop.c291 sig_handler(int signo) in sig_handler() argument
293 (void)signo; in sig_handler()
/external/valgrind/none/tests/solaris/
Dsigresend.c11 static void signal_handler(int signo, siginfo_t *info, void *uc) in signal_handler() argument
/external/valgrind/memcheck/tests/solaris/
Ddoor_kill.c47 static void signal_handler(int signo, siginfo_t *info, void *uc) in signal_handler() argument

123