Home
last modified time | relevance | path

Searched refs:sigaction (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/qemu/distrib/sdl-1.2.15/src/events/
DSDL_quit.c49 struct sigaction action;
50 sigaction(SIGINT, NULL, &action);
57 sigaction(SIGINT, &action, NULL);
59 sigaction(SIGTERM, NULL, &action);
66 sigaction(SIGTERM, &action, NULL);
86 struct sigaction action;
87 sigaction(SIGINT, NULL, &action);
90 sigaction(SIGINT, &action, NULL);
92 sigaction(SIGTERM, NULL, &action);
95 sigaction(SIGTERM, &action, NULL);
/external/qemu/target-i386/
Dkvm-gs-restore.c37 unsigned int sigaction:1; member
54 if ( !o_sigact[signum].sigaction && o_sigact[signum].old_handler) in temp_sig_handler()
60 signum, o_sigact[signum].sigaction ? "set":"not set" ); in temp_sig_handler()
76 if ( o_sigact[signum].sigaction && o_sigact[signum].old_sigaction ) in temp_sig_sigaction()
82 signum, o_sigact[signum].sigaction ? "set":"not set" ); in temp_sig_sigaction()
104 struct sigaction act, old_act; in take_signal_handler()
106 sigret = sigaction(i, NULL, &old_act); in take_signal_handler()
115 memcpy(&act, &old_act, sizeof(struct sigaction)); in take_signal_handler()
120 o_sigact[i].sigaction = 1; in take_signal_handler()
129 sigaction(i, &act, NULL); in take_signal_handler()
/external/qemu/distrib/sdl-1.2.15/src/
DSDL_fatal.c64 struct sigaction action; in SDL_InstallParachute()
67 sigaction(SDL_fatal_signals[i], NULL, &action); in SDL_InstallParachute()
70 sigaction(SDL_fatal_signals[i], &action, NULL); in SDL_InstallParachute()
75 sigaction(SIGALRM, NULL, &action); in SDL_InstallParachute()
78 sigaction(SIGALRM, &action, NULL); in SDL_InstallParachute()
99 struct sigaction action; in SDL_UninstallParachute()
102 sigaction(SDL_fatal_signals[i], NULL, &action); in SDL_UninstallParachute()
105 sigaction(SDL_fatal_signals[i], &action, NULL); in SDL_UninstallParachute()
/external/strace/tests/
Dsigaction.c14 struct sigaction sa, sa0; in main()
21 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main()
28 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main()
33 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main()
37 assert(!sigaction(SIGUSR2, &sa, &sa0)); in main()
DMakefile.am9 sigaction \ program
22 sigaction.test \
37 EXTRA_DIST = init.sh run.sh sigaction.awk $(TESTS)
/external/bison/lib/
Dsignal.in.h393 struct sigaction
418 _GL_FUNCDECL_SYS (sigaction, int, (int, const struct sigaction *restrict,
419 struct sigaction *restrict));
427 _GL_CXXALIAS_SYS (sigaction, int, (int, const struct sigaction *restrict,
428 struct sigaction *restrict));
429 _GL_CXXALIASWARN (sigaction);
432 # undef sigaction
434 _GL_WARN_ON_USE (sigaction, "sigaction is unportable - "
Dfatal-signal.c95 struct sigaction action; in init_fatal_signals()
97 if (sigaction (fatal_signals[i], NULL, &action) >= 0 in init_fatal_signals()
130 static struct sigaction saved_sigactions[64];
145 sigaction (sig, &saved_sigactions[sig], NULL); in uninstall_handlers()
183 struct sigaction action; in install_handlers()
198 sigaction (sig, &action, &saved_sigactions[sig]); in install_handlers()
Dsigaction.c80 static struct sigaction volatile action_array[NSIG] /* = 0 */;
131 sigaction (int sig, const struct sigaction *restrict act, in sigaction() function
132 struct sigaction *restrict oact) in sigaction()
/external/chromium_org/chrome/browser/
Dchrome_browser_main_posix.cc51 struct sigaction action; in GracefulShutdownHandler()
54 RAW_CHECK(sigaction(signal, &action, NULL) == 0); in GracefulShutdownHandler()
256 struct sigaction action; in PreEarlyInitialization()
259 CHECK(sigaction(SIGCHLD, &action, NULL) == 0); in PreEarlyInitialization()
298 struct sigaction action; in PostMainMessageLoopStart()
301 CHECK(sigaction(SIGTERM, &action, NULL) == 0); in PostMainMessageLoopStart()
305 CHECK(sigaction(SIGINT, &action, NULL) == 0); in PostMainMessageLoopStart()
309 CHECK(sigaction(SIGHUP, &action, NULL) == 0); in PostMainMessageLoopStart()
/external/bison/m4/
Dsigaction.m41 # 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/main/none/tests/
Dcoolo_sigaction.cpp7 static struct sigaction oldChildHandlerData;
16 struct sigaction act; in setupHandlers()
32 sigaction( SIGCHLD, &act, &oldChildHandlerData ); in setupHandlers()
38 sigaction( SIGPIPE, &act, 0L); in setupHandlers()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
Dsigaction.c8 int sigaction(int signum, in sigaction() function
9 const struct sigaction* act, in sigaction()
10 struct sigaction* oldact) { in sigaction()
/external/e2fsprogs/e2fsck/
Dsigcatcher.c384 struct sigaction sa; in sigcatcher_setup()
386 memset(&sa, 0, sizeof(struct sigaction)); in sigcatcher_setup()
390 sigaction(SIGFPE, &sa, 0); in sigcatcher_setup()
391 sigaction(SIGILL, &sa, 0); in sigcatcher_setup()
392 sigaction(SIGBUS, &sa, 0); in sigcatcher_setup()
393 sigaction(SIGSEGV, &sa, 0); in sigcatcher_setup()
408 struct sigaction sa; in main()
413 memset(&sa, 0, sizeof(struct sigaction)); in main()
417 sigaction(i, &sa, 0); in main()
/external/compiler-rt/lib/asan/
Dasan_interceptors.h93 struct sigaction;
94 DECLARE_REAL(int, sigaction, int signum, const struct sigaction *act, in DECLARE_REAL() argument
95 struct sigaction *oldact) in DECLARE_REAL()
/external/qemu/
Dos-posix.c58 struct sigaction act; in os_setup_early_signal_handling()
62 sigaction(SIGPIPE, &act, NULL); in os_setup_early_signal_handling()
77 struct sigaction act; in os_setup_signal_handling()
81 sigaction(SIGINT, &act, NULL); in os_setup_signal_handling()
82 sigaction(SIGHUP, &act, NULL); in os_setup_signal_handling()
83 sigaction(SIGTERM, &act, NULL); in os_setup_signal_handling()
87 sigaction(SIGCHLD, &act, NULL); in os_setup_signal_handling()
/external/compiler-rt/test/asan/TestCases/Posix/
Dallow_user_segv.cc10 struct sigaction user_sigaction;
11 struct sigaction original_sigaction;
37 if (sigaction(signum, &user_sigaction, &original_sigaction)) { in main()
/external/valgrind/main/memcheck/tests/
Dsigkill.c17 struct sigaction sa; in main()
35 rc = sigaction (i /*SIGKILL*/, &sa, NULL); in main()
39 rc = sigaction (i /*SIGKILL*/, NULL, &sa); in main()
/external/bison/darwin-lib/
Dsignal.h705 struct sigaction struct
730 _GL_FUNCDECL_SYS (sigaction, int, (int, const struct sigaction *restrict, argument
731 struct sigaction *restrict));
739 _GL_CXXALIAS_SYS (sigaction, int, (int, const struct sigaction *restrict,
740 struct sigaction *restrict));
741 _GL_CXXALIASWARN (sigaction);
744 # undef sigaction
746 _GL_WARN_ON_USE (sigaction, "sigaction is unportable - "
/external/bison/linux-lib/
Dsignal.h705 struct sigaction struct
730 _GL_FUNCDECL_SYS (sigaction, int, (int, const struct sigaction *restrict, argument
731 struct sigaction *restrict));
739 _GL_CXXALIAS_SYS (sigaction, int, (int, const struct sigaction *restrict,
740 struct sigaction *restrict));
741 _GL_CXXALIASWARN (sigaction);
744 # undef sigaction
746 _GL_WARN_ON_USE (sigaction, "sigaction is unportable - "
/external/openssl/crypto/
Ds390xcap.c17 struct sigaction ill_act,oact; in OPENSSL_cpuid_setup()
29 sigaction (SIGILL,&ill_act,&oact); in OPENSSL_cpuid_setup()
35 sigaction (SIGILL,&oact,NULL); in OPENSSL_cpuid_setup()
Dsparcv9cap.c171 struct sigaction common_act,ill_oact,bus_oact; in OPENSSL_cpuid_setup()
202 sigaction(SIGILL,&common_act,&ill_oact); in OPENSSL_cpuid_setup()
203 sigaction(SIGBUS,&common_act,&bus_oact);/* T1 fails 16-bit ldda [on Linux] */ in OPENSSL_cpuid_setup()
231 sigaction(SIGBUS,&bus_oact,NULL); in OPENSSL_cpuid_setup()
232 sigaction(SIGILL,&ill_oact,NULL); in OPENSSL_cpuid_setup()
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
Dsignal.c175 sigaction (int signum, const struct sigaction *act, struct sigaction *oldact) in sigaction() function
/external/valgrind/main/gdbserver_tests/
Dpasssigalrm.c26 struct sigaction sa; in main()
32 if (sigaction (SIGALRM, &sa, NULL) != 0) in main()
59 if (sigaction (SIGRTMIN, &sa, NULL) != 0) in main()
/external/valgrind/main/tests/
Dpower_insn_available.c36 static struct sigaction unsup_insn_action = (struct sigaction) {
60 sigaction(SIGILL, &unsup_insn_action, NULL); in dcbzl_available()
/external/valgrind/main/none/tests/x86-linux/
Dsigcontext.c45 struct sigaction sa; in main()
53 sigaction(SIGUSR1, &sa, NULL); in main()
59 sigaction(SIGUSR2, &sa, NULL); in main()

1234567891011