Searched refs:sigactions (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 166 static sigaction_t sigactions[kSigCount]; variable 1963 Acquire(thr, 0, (uptr)&sigactions[sig]); in CallUserSignalHandler() 1971 (uptr)sigactions[sig].sa_sigaction : in CallUserSignalHandler() 1972 (uptr)sigactions[sig].sa_handler; in CallUserSignalHandler() 2096 internal_memcpy(old, &sigactions[sig], sizeof(*old)); in TSAN_INTERCEPTOR() 2105 sigactions[sig].sa_handler = *(volatile sighandler_t*)&act->sa_handler; in TSAN_INTERCEPTOR() 2106 sigactions[sig].sa_flags = *(volatile int*)&act->sa_flags; in TSAN_INTERCEPTOR() 2107 internal_memcpy(&sigactions[sig].sa_mask, &act->sa_mask, in TSAN_INTERCEPTOR() 2108 sizeof(sigactions[sig].sa_mask)); in TSAN_INTERCEPTOR() 2110 sigactions[sig].sa_restorer = act->sa_restorer; in TSAN_INTERCEPTOR() [all …]
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 1129 static atomic_uintptr_t sigactions[kMaxSignals]; variable 1139 (signal_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalHandler() 1152 (sigaction_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalAction() 1165 uptr old_cb = atomic_load(&sigactions[signo], memory_order_relaxed); in INTERCEPTOR() 1175 atomic_store(&sigactions[signo], cb, memory_order_relaxed); in INTERCEPTOR() 1202 atomic_store(&sigactions[signo], cb, memory_order_relaxed); in INTERCEPTOR()
|