Searched refs:sigactions (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 215 static sigaction_t sigactions[kSigCount]; variable 1937 Acquire(thr, 0, (uptr)&sigactions[sig]); in CallUserSignalHandler() 1945 (uptr)sigactions[sig].sa_sigaction : in CallUserSignalHandler() 1946 (uptr)sigactions[sig].sa_handler; in CallUserSignalHandler() 2068 internal_memcpy(old, &sigactions[sig], sizeof(*old)); in TSAN_INTERCEPTOR() 2077 sigactions[sig].sa_handler = *(volatile sighandler_t*)&act->sa_handler; in TSAN_INTERCEPTOR() 2078 sigactions[sig].sa_flags = *(volatile int*)&act->sa_flags; in TSAN_INTERCEPTOR() 2079 internal_memcpy(&sigactions[sig].sa_mask, &act->sa_mask, in TSAN_INTERCEPTOR() 2080 sizeof(sigactions[sig].sa_mask)); in TSAN_INTERCEPTOR() 2082 sigactions[sig].sa_restorer = act->sa_restorer; in TSAN_INTERCEPTOR() [all …]
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 1150 static atomic_uintptr_t sigactions[kMaxSignals]; variable 1160 (signal_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalHandler() 1173 (sigaction_cb)atomic_load(&sigactions[signo], memory_order_relaxed); in SignalAction() 1186 uptr old_cb = atomic_load(&sigactions[signo], memory_order_relaxed); in INTERCEPTOR() 1196 atomic_store(&sigactions[signo], cb, memory_order_relaxed); in INTERCEPTOR() 1223 atomic_store(&sigactions[signo], cb, memory_order_relaxed); in INTERCEPTOR()
|