/external/valgrind/none/tests/ |
pth_blockedsig.c | 33 struct sigaction sigact; local 44 memset (&sigact, 0, sizeof sigact); 45 sigact.sa_handler = sig_usr1; 46 if (sigaction(SIGUSR1, &sigact, NULL) != 0)
|
/external/openssh/openbsd-compat/ |
sigact.c | 41 #include "sigact.h" 49 sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact) 51 return sigvec(sig, sigact ? &sigact->sv : NULL,
|
sigact.h | 81 int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact);
|
/external/compiler-rt/lib/stats/ |
stats.cc | 124 struct sigaction sigact; local 125 internal_memset(&sigact, 0, sizeof(sigact)); 126 sigact.sa_handler = USR2Handler; 127 internal_sigaction(SIGUSR2, &sigact, nullptr);
|
/external/libusb/examples/ |
sam3u_benchmark.c | 152 struct sigaction sigact; local 154 sigact.sa_handler = sig_hdlr; 155 sigemptyset(&sigact.sa_mask); 156 sigact.sa_flags = 0; 157 sigaction(SIGINT, &sigact, NULL);
|
dpfp.c | 419 struct sigaction sigact; local 459 sigact.sa_handler = sighandler; 460 sigemptyset(&sigact.sa_mask); 461 sigact.sa_flags = 0; 462 sigaction(SIGINT, &sigact, NULL); 463 sigaction(SIGTERM, &sigact, NULL); 464 sigaction(SIGQUIT, &sigact, NULL);
|
dpfp_threaded.c | 449 struct sigaction sigact; local 490 sigact.sa_handler = sighandler; 491 sigemptyset(&sigact.sa_mask); 492 sigact.sa_flags = 0; 493 sigaction(SIGINT, &sigact, NULL); 494 sigaction(SIGTERM, &sigact, NULL); 495 sigaction(SIGQUIT, &sigact, NULL);
|
/external/llvm/lib/Fuzzer/afl/ |
afl_driver.cpp | 131 struct sigaction sigact; local 132 memset(&sigact, 0, sizeof(sigact)); 133 sigact.sa_sigaction = callback; 134 if (sigaction(signum, &sigact, 0)) {
|
/external/ltp/testcases/kernel/syscalls/mq_notify/ |
mq_notify01.c | 136 struct sigaction sigact; local 177 memset(&sigact, 0, sizeof(sigact)); 178 sigact.sa_sigaction = sigfunc; 179 sigact.sa_flags = SA_SIGINFO; 180 rc = sigaction(SIGUSR1, &sigact, NULL);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix_libcdep.cc | 178 struct sigaction sigact; local 179 internal_memset(&sigact, 0, sizeof(sigact)); 180 sigact.sa_sigaction = (sa_sigaction_t)handler; 183 sigact.sa_flags = SA_SIGINFO | SA_NODEFER; 184 if (common_flags()->use_sigaltstack) sigact.sa_flags |= SA_ONSTACK; 185 CHECK_EQ(0, internal_sigaction(signum, &sigact, nullptr));
|
/external/dnsmasq/src/ |
helper.c | 57 struct sigaction sigact; local 75 sigact.sa_handler = SIG_IGN; 76 sigact.sa_flags = 0; 77 sigemptyset(&sigact.sa_mask); 78 sigaction(SIGTERM, &sigact, NULL); 79 sigaction(SIGALRM, &sigact, NULL);
|
dnsmasq.c | 69 struct sigaction sigact; local 92 sigact.sa_handler = sig_handler; 93 sigact.sa_flags = 0; 94 sigemptyset(&sigact.sa_mask); 95 sigaction(SIGUSR1, &sigact, NULL); 96 sigaction(SIGUSR2, &sigact, NULL); 97 sigaction(SIGHUP, &sigact, NULL); 98 sigaction(SIGTERM, &sigact, NULL); 99 sigaction(SIGALRM, &sigact, NULL); 100 sigaction(SIGCHLD, &sigact, NULL) [all...] |
/external/llvm/lib/Fuzzer/ |
FuzzerUtil.cpp | 89 struct sigaction sigact; local 90 memset(&sigact, 0, sizeof(sigact)); 91 sigact.sa_sigaction = callback; 92 if (sigaction(signum, &sigact, 0)) {
|
/frameworks/native/cmds/dumpstate/ |
DumpstateUtil.cpp | 294 struct sigaction sigact; local 295 memset(&sigact, 0, sizeof(sigact)); 296 sigact.sa_handler = SIG_IGN; 297 sigaction(SIGPIPE, &sigact, NULL);
|
/external/curl/lib/ |
hostip.c | 576 volatile bool keep_copysig = FALSE; /* wether old sigact has been saved */ 577 struct sigaction sigact; local 632 sigaction(SIGALRM, NULL, &sigact); 633 keep_sigact = sigact; 635 sigact.sa_handler = alarmfunc; 638 sigact.sa_flags &= ~SA_RESTART; 641 sigaction(SIGALRM, &sigact, NULL);
|
/system/extras/perfprofd/ |
perfprofdcore.cc | 263 struct sigaction sigact; local 266 memset(&sigact, 0, sizeof(sigact)); 267 sigact.sa_sigaction = handler; 268 sigaction(SIGALRM, &sigact, &oldsigact_);
|
/external/compiler-rt/lib/asan/tests/ |
asan_test.cc | 272 struct sigaction sigact; local 273 memset(&sigact, 0, sizeof(sigact)); 274 sigact.sa_sigaction = my_sigaction_sighandler; 275 sigact.sa_flags = SA_SIGINFO; 277 EXPECT_EQ(0, sigaction(SIGSEGV, &sigact, 0)); 279 EXPECT_EQ(0, sigaction(SIGBUS, &sigact, 0)); [all...] |
/external/mksh/src/ |
histrap.c | 1437 struct sigaction sigact; local 1442 memset(&sigact, 0, sizeof(sigact)); 1449 sigaction(p->signal, &Sigact_ign, &sigact); 1450 p->flags |= sigact.sa_handler == SIG_IGN ? [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | [all...] |
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
scsimain.c | 1797 struct sigaction sigact; local 1818 struct sigaction sigact; local [all...] |
/external/valgrind/perf/ |
tinycc.c | [all...] |