Searched refs:newact (Results 1 – 3 of 3) sorted by relevance
| /NextBSD/lib/libthr/thread/ |
| HD | thr_sig.c | 521 struct sigaction newact, oldact, oldact2; in __thr_sigaction() local 540 newact = *act; in __thr_sigaction() 549 if (newact.sa_handler != SIG_DFL && in __thr_sigaction() 550 newact.sa_handler != SIG_IGN) { in __thr_sigaction() 551 usa->sigact = newact; in __thr_sigaction() 553 newact.sa_flags &= ~SA_NODEFER; in __thr_sigaction() 554 newact.sa_flags |= SA_SIGINFO; in __thr_sigaction() 555 newact.sa_sigaction = thr_sighandler; in __thr_sigaction() 556 newact.sa_mask = _thr_maskset; /* mask all signals */ in __thr_sigaction() 558 ret = __sys_sigaction(sig, &newact, &oldact); in __thr_sigaction()
|
| /NextBSD/contrib/ntp/libntp/ |
| HD | machines.c | 270 struct sigaction newact; in setitimer() local 309 newact.sa_handler = &setitimer_mpe_handler; in setitimer() 310 newact.sa_mask = setitimer_mpe_ctx.oldact.sa_mask; in setitimer() 311 newact.sa_flags = setitimer_mpe_ctx.oldact.sa_flags; in setitimer() 313 if (sigaction(SIGALRM, &newact, NULL) < 0) { in setitimer()
|
| /NextBSD/contrib/compiler-rt/lib/tsan/rtl/ |
| HD | tsan_interceptors.cc | 2017 sigaction_t newact; in TSAN_INTERCEPTOR() local 2018 internal_memcpy(&newact, act, sizeof(newact)); in TSAN_INTERCEPTOR() 2019 REAL(sigfillset)(&newact.sa_mask); in TSAN_INTERCEPTOR() 2021 if (newact.sa_flags & SA_SIGINFO) in TSAN_INTERCEPTOR() 2022 newact.sa_sigaction = rtl_sigaction; in TSAN_INTERCEPTOR() 2024 newact.sa_handler = rtl_sighandler; in TSAN_INTERCEPTOR() 2027 int res = REAL(sigaction)(sig, &newact, 0); in TSAN_INTERCEPTOR()
|