Home
last modified time | relevance | path

Searched refs:newact (Results 1 – 3 of 3) sorted by relevance

/freebsd/lib/libthr/thread/
H A Dthr_sig.c572 struct sigaction newact, oldact, oldact2; in __thr_sigaction() local
591 newact = *act; in __thr_sigaction()
600 if (newact.sa_handler != SIG_DFL && in __thr_sigaction()
601 newact.sa_handler != SIG_IGN) { in __thr_sigaction()
602 usa->sigact = newact; in __thr_sigaction()
604 newact.sa_flags &= ~SA_NODEFER; in __thr_sigaction()
605 newact.sa_flags |= SA_SIGINFO; in __thr_sigaction()
606 newact.sa_sigaction = thr_sighandler; in __thr_sigaction()
607 newact.sa_mask = _thr_maskset; /* mask all signals */ in __thr_sigaction()
609 ret = __sys_sigaction(sig, &newact, &oldact); in __thr_sigaction()
/freebsd/contrib/ntp/libntp/
H A Dmachines.c269 struct sigaction newact; in setitimer()
308 newact.sa_handler = &setitimer_mpe_handler; in setitimer()
309 newact.sa_mask = setitimer_mpe_ctx.oldact.sa_mask; in setitimer()
310 newact.sa_flags = setitimer_mpe_ctx.oldact.sa_flags; in setitimer()
312 if (sigaction(SIGALRM, &newact, NULL) < 0) { in setitimer()
270 struct sigaction newact; setitimer() local
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp2586 __sanitizer_sigaction newact; in sigaction_impl() local
2602 internal_memcpy(&newact, act, sizeof(newact)); in sigaction_impl()
2603 internal_sigfillset(&newact.sa_mask); in sigaction_impl()
2606 newact.sa_flags |= SA_SIGINFO; in sigaction_impl()
2607 newact.sigaction = sighandler; in sigaction_impl()
2610 act = &newact; in sigaction_impl()