Searched refs:sigact (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilPosix.cpp63 struct sigaction sigact = {}; local
64 if (sigaction(signum, nullptr, &sigact)) {
68 if (sigact.sa_flags & SA_SIGINFO) {
69 if (sigact.sa_sigaction) {
72 upstream_segv_handler = sigact.sa_sigaction;
75 if (sigact.sa_handler != SIG_DFL && sigact.sa_handler != SIG_IGN &&
76 sigact.sa_handler != SIG_ERR)
80 sigact = {};
81 sigact
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dsigaction.c41 _nc_sigaction(int sig, sigaction_t * sigact, sigaction_t * osigact) argument
43 return sigvec(sig, sigact, osigact);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dsigact.c41 #include "sigact.h"
49 sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact) argument
51 return sigvec(sig, sigact ? &sigact->sv : NULL,
H A Dsigact.h81 int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact);
H A DMakefile.in19 OPENBSD=base64.o basename.o bcrypt_pbkdf.o bindresvport.o blowfish.o daemon.o dirname.o fmt_scaled.o getcwd.o getgrouplist.o getopt_long.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o pwcache.o readpassphrase.o reallocarray.o realpath.o rresvport.o setenv.o setproctitle.o sha1.o sha2.o rmd160.o md5.o sigact.o strcasestr.o strlcat.o strlcpy.o strmode.o strnlen.o strptime.o strsep.o strtonum.o strtoll.o strtoul.o strtoull.o timingsafe_bcmp.o vis.o blowfish.o bcrypt_pbkdf.o explicit_bzero.o
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats.cpp124 struct sigaction sigact; local
125 internal_memset(&sigact, 0, sizeof(sigact));
126 sigact.sa_handler = USR2Handler;
127 internal_sigaction(SIGUSR2, &sigact, nullptr);
/freebsd-11-stable/bin/sh/
H A Dtrap.c258 sig_t sigact = SIG_DFL; local
303 if (!getsigaction(signo, &sigact)) {
311 if (sigact == SIG_IGN) {
324 case S_DFL: sigact = SIG_DFL; break;
325 case S_CATCH: sigact = onsig; break;
326 case S_IGN: sigact = SIG_IGN; break;
329 sa.sa_handler = sigact;
340 getsigaction(int signo, sig_t *sigact) argument
346 *sigact = (sig_t) sa.sa_handler;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cpp148 struct sigaction sigact; local
149 internal_memset(&sigact, 0, sizeof(sigact));
150 sigact.sa_sigaction = (sa_sigaction_t)SIG_DFL;
151 internal_sigaction(SIGABRT, &sigact, nullptr);
203 struct sigaction sigact; local
204 internal_memset(&sigact, 0, sizeof(sigact));
205 sigact.sa_sigaction = (sa_sigaction_t)handler;
208 sigact
[all...]
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_sig.c54 struct sigaction sigact; member in struct:usigaction
168 act = usa->sigact;
419 usa->sigact = oact;
421 remove_thr_signals(&usa->sigact.sa_mask);
458 actp = &usa->sigact;
538 oldact2 = usa->sigact;
550 usa->sigact = newact;
551 remove_thr_signals(&usa->sigact.sa_mask);
560 usa->sigact = oldact2;
571 oldact = usa->sigact;
[all...]
/freebsd-11-stable/tools/regression/sockets/unix_cmsg/
H A Dunix_cmsg.c283 struct sigaction sigact; local
289 sigact.sa_handler = SIG_IGN;
290 sigact.sa_flags = 0;
291 sigemptyset(&sigact.sa_mask);
292 if (sigaction(SIGPIPE, &sigact, (struct sigaction *)NULL) < 0) {
/freebsd-11-stable/lib/libc/gen/
H A Dposix_spawn.c89 struct sigaction sigact = { .sa_flags = 0, .sa_handler = SIG_DFL }; local
133 if (__sys_sigaction(i, &sigact, NULL) != 0)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1879 bool sigact, int sig,
1904 sigact ? (uptr)sigactions[sig].sigaction : (uptr)sigactions[sig].handler;
1906 if (sigact)
1972 void ALWAYS_INLINE rtl_generic_sighandler(bool sigact, int sig, argument
1992 CallUserSignalHandler(thr, sync, true, sigact, sig, info, ctx);
2001 CallUserSignalHandler(thr, sync, acq, sigact, sig, info, ctx);
2012 signal->sigaction = sigact;
1878 CallUserSignalHandler(ThreadState *thr, bool sync, bool acquire, bool sigact, int sig, __sanitizer_siginfo *info, void *uctx) argument

Completed in 113 milliseconds