/art/sigchainlib/ |
version-script.txt | 9 sigaction;
|
sigchain.cc | 38 typedef int (*SigActionFnPtr)(int, const struct sigaction*, struct sigaction*); 46 void Claim(const struct sigaction& action) { 54 sigaction(signal, &action_, nullptr); // Restore old action. 58 const struct sigaction& GetAction() const { 69 // call as opposed to sigaction(). In this case the sa_handler is 71 void SetAction(const struct sigaction& action, bool oldstyle) { 89 struct sigaction action_; // Action to be performed. 128 extern "C" void ClaimSignalChain(int signal, struct sigaction* oldaction) { 164 const struct sigaction& action = user_sigactions[sig].GetAction() 200 extern "C" int sigaction(int signal, const struct sigaction* new_action, struct sigaction* old_action) { function in namespace:art [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
allow_user_segv.cc | 11 struct sigaction original_sigaction_sigbus; 12 struct sigaction original_sigaction_sigsegv; 15 fprintf(stderr, "User sigaction called\n"); 16 struct sigaction original_sigaction; 36 int InstallHandler(int signum, struct sigaction *original_sigaction) { 37 struct sigaction user_sigaction; 40 if (sigaction(signum, &user_sigaction, original_sigaction)) { 41 perror("sigaction"); 52 fprintf(stderr, "User sigaction installed\n"); 56 // CHECK: User sigaction installe [all...] |
/external/compiler-rt/test/tsan/ |
signal_reset.cc | 28 struct sigaction act = {}; 31 if (sigaction(SIGPROF, &act, 0)) { 32 perror("sigaction"); 36 if (sigaction(SIGPROF, &act, 0)) { 37 perror("sigaction"); 45 struct sigaction act = {}; 47 if (sigaction(SIGPROF, &act, 0)) { 48 perror("sigaction");
|
/external/bison/m4/ |
sigaction.m4 | 0 # sigaction.m4 serial 7 7 # Determine if sigaction interface is present. 11 AC_CHECK_FUNCS_ONCE([sigaction]) 13 AC_CHECK_MEMBERS([struct sigaction.sa_sigaction], , , 23 # Prerequisites of the part of lib/signal.in.h and of lib/sigaction.c.
|
/external/valgrind/drd/tests/ |
sigaltstack.stderr.exp | 2 setting sigaction
|
/external/valgrind/helgrind/tests/ |
safe-semaphore.h | 18 struct sigaction sa; 19 struct sigaction oldsa; 27 sigaction( SIGABRT, &sa, &oldsa ); 36 sigaction( SIGABRT, &oldsa, NULL );
|
safe-pthread.h | 39 struct sigaction sa_ill, sa_segv; 40 struct sigaction oldsa_ill, oldsa_segv; 48 sigaction( SIGILL, &sa_ill, &oldsa_ill ); 55 sigaction( SIGSEGV, &sa_segv, &oldsa_segv ); 63 sigaction( SIGILL, &oldsa_ill, NULL ); 64 sigaction( SIGSEGV, &oldsa_segv, NULL );
|
/external/valgrind/memcheck/tests/ |
sigaltstack.stderr.exp | 2 setting sigaction
|
sigkill.c | 17 struct sigaction sa; 23 // glibc versions do not invoke the sigaction system call for these 35 rc = sigaction (i /*SIGKILL*/, &sa, NULL); 39 rc = sigaction (i /*SIGKILL*/, NULL, &sa);
|
/bionic/tests/ |
ScopedSignalHandler.h | 30 sigaction(signal_number_, &action_, &old_action_); 39 sigaction(signal_number_, &action_, &old_action_); 43 sigaction(signal_number_, &old_action_, NULL); 47 struct sigaction action_; 48 struct sigaction old_action_;
|
/external/valgrind/gdbserver_tests/ |
passsigalrm.c | 26 struct sigaction sa; 32 if (sigaction (SIGALRM, &sa, NULL) != 0) 33 perror("sigaction"); 59 if (sigaction (SIGRTMIN, &sa, NULL) != 0) 60 perror("sigaction");
|
/external/valgrind/none/tests/darwin/ |
bug228343.c | 12 typedef void (*Sigaction)(int, siginfo_t *, void *); 16 static void EnableSigprof(Sigaction SignalHandler) { 17 struct sigaction sa; 21 if (sigaction(SIGPROF, &sa, NULL) != 0) { 22 perror("sigaction");
|
/system/core/libmemunreachable/ |
ScopedAlarm.h | 30 struct sigaction oldact{}; 31 struct sigaction act{}; 35 sigaction(SIGALRM, &act, &oldact); 46 struct sigaction act{}; 48 sigaction(SIGALRM, &act, NULL);
|
/external/autotest/client/tests/posixtest/ |
posixtestsuite-1.5.2.tar.gz | |
/external/valgrind/memcheck/tests/solaris/ |
context_stack_die.c | 17 struct sigaction sa; 29 if (sigaction(SIGUSR1, &sa, NULL)) { 30 perror("sigaction");
|
/external/valgrind/none/tests/solaris/ |
context_link2.c | 20 struct sigaction sa; 35 if (sigaction(SIGUSR1, &sa, NULL)) { 36 perror("sigaction");
|
/external/clang/test/CodeGen/ |
call.c | 28 struct sigaction { int (*_sa_handler)(int); }; struct 30 typedef struct sigaction sighandler_cxt;
|
/external/valgrind/none/tests/ |
bug234814.c | 19 struct sigaction sa; 23 if (sigaction(SIGBUS, &sa, NULL) == -1) {
|
coolo_sigaction.cpp | 7 static struct sigaction oldChildHandlerData; 16 struct sigaction act; 32 sigaction( SIGCHLD, &act, &oldChildHandlerData ); 38 sigaction( SIGPIPE, &act, 0L);
|
/external/valgrind/none/tests/x86/ |
badseg.c | 14 struct sigaction sa; 21 sigaction(SIGSEGV, &sa, NULL);
|
/bionic/libc/bionic/ |
sigaction.cpp | 38 int sigaction(int signal, const struct sigaction* bionic_new_action, struct sigaction* bionic_old_action) { function 80 extern "C" int __sigaction(int, const struct sigaction*, struct sigaction*); 82 int sigaction(int signal, const struct sigaction* bionic_new_action, struct sigaction* bionic_old_action) { function 83 // The 32-bit ABI is broken. struct sigaction includes a too-small sigset_t, 84 // so we have to use sigaction(2) rather than rt_sigaction(2) [all...] |
/external/curl/lib/ |
sigpipe.h | 30 struct sigaction old_pipe_act; 48 struct sigaction action; 50 memset(&ig->old_pipe_act, 0, sizeof(struct sigaction)); 51 sigaction(SIGPIPE, NULL, &ig->old_pipe_act); 55 sigaction(SIGPIPE, &action, NULL); 68 sigaction(SIGPIPE, &ig->old_pipe_act, NULL); 72 /* for systems without sigaction */
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
uar_signals.cc | 14 typedef void (*Sigaction)(int, siginfo_t *, void *); 23 static void EnableSigprof(Sigaction SignalHandler) { 24 struct sigaction sa; 28 if (sigaction(SIGPROF, &sa, NULL) != 0) { 29 perror("sigaction");
|
/external/avahi/avahi-utils/ |
sigint.c | 36 static struct sigaction old_sigint_sa, old_sigterm_sa; 83 struct sigaction sa; 102 if (sigaction(SIGINT, &sa, &old_sigint_sa) < 0) { 103 fprintf(stderr, "sigaction() failed: %s\n", strerror(errno)); 108 if (sigaction(SIGTERM, &sa, &old_sigterm_sa) < 0) { 109 sigaction(SIGINT, &old_sigint_sa, NULL); 110 fprintf(stderr, "sigaction() failed: %s\n", strerror(errno)); 128 sigaction(SIGTERM, &old_sigterm_sa, NULL); 129 sigaction(SIGINT, &old_sigint_sa, NULL);
|