Home
last modified time | relevance | path

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

12345678910>>...44

/third_party/musl/libc-test/src/functionalext/fortify/
Dunistd.c32 struct sigaction sigabrt = { in unistd_dynamic_chk_001()
36 sigaction(SIGABRT, &sigabrt, NULL); in unistd_dynamic_chk_001()
67 struct sigaction sigabrt = { in unistd_dynamic_chk_002()
70 sigaction(SIGABRT, &sigabrt, NULL); in unistd_dynamic_chk_002()
106 struct sigaction sigabrt = { in unistd_dynamic_chk_003()
109 sigaction(SIGABRT, &sigabrt, NULL); in unistd_dynamic_chk_003()
146 struct sigaction sigabrt = { in unistd_dynamic_chk_004()
149 sigaction(SIGABRT, &sigabrt, NULL); in unistd_dynamic_chk_004()
185 struct sigaction sigabrt = { in unistd_dynamic_chk_005()
188 sigaction(SIGABRT, &sigabrt, NULL); in unistd_dynamic_chk_005()
[all …]
Dstring_ext.c68 struct sigaction sigabrt = { in test_strcat_0020()
71 sigaction(SIGABRT, &sigabrt, NULL); in test_strcat_0020()
119 struct sigaction sigabrt = { in test_strncat_0020()
122 sigaction(SIGABRT, &sigabrt, NULL); in test_strncat_0020()
169 struct sigaction sigabrt = { in test_stpcpy_0020()
172 sigaction(SIGABRT, &sigabrt, NULL); in test_stpcpy_0020()
218 struct sigaction sigabrt = { in test_stpncpy_0020()
221 sigaction(SIGABRT, &sigabrt, NULL); in test_stpncpy_0020()
267 struct sigaction sigabrt = { in test_strncpy_0020()
270 sigaction(SIGABRT, &sigabrt, NULL); in test_strncpy_0020()
[all …]
Dfcntl_ext.c46 struct sigaction sigabrt = { in open_0020()
49 sigaction(SIGABRT, &sigabrt, NULL); in open_0020()
80 struct sigaction sigabrt = { in open_0030()
83 sigaction(SIGABRT, &sigabrt, NULL); in open_0030()
129 struct sigaction sigabrt = { in openat_0020()
132 sigaction(SIGABRT, &sigabrt, NULL); in openat_0020()
163 struct sigaction sigabrt = { in openat_0030()
166 sigaction(SIGABRT, &sigabrt, NULL); in openat_0030()
212 struct sigaction sigabrt = { in open64_0020()
215 sigaction(SIGABRT, &sigabrt, NULL); in open64_0020()
[all …]
Dstdio.c102 struct sigaction sigabrt = { in stdio_dynamic_chk_003()
105 sigaction(SIGABRT, &sigabrt, NULL); in stdio_dynamic_chk_003()
139 struct sigaction sigabrt = { in stdio_dynamic_chk_004()
142 sigaction(SIGABRT, &sigabrt, NULL); in stdio_dynamic_chk_004()
224 struct sigaction sigabrt = { in stdio_dynamic_chk_007()
227 sigaction(SIGABRT, &sigabrt, NULL); in stdio_dynamic_chk_007()
293 struct sigaction sigabrt = { in stdio_dynamic_chk_010()
296 sigaction(SIGABRT, &sigabrt, NULL); in stdio_dynamic_chk_010()
328 struct sigaction sigabrt = { in stdio_dynamic_chk_011()
331 sigaction(SIGABRT, &sigabrt, NULL); in stdio_dynamic_chk_011()
[all …]
Dsocket_ext.c54 struct sigaction sigabrt = { in send_0010()
57 sigaction(SIGABRT, &sigabrt, NULL); in send_0010()
89 struct sigaction sigabrt = { in recv_0010()
92 sigaction(SIGABRT, &sigabrt, NULL); in recv_0010()
151 struct sigaction sigabrt = { in sendto_0010()
154 sigaction(SIGABRT, &sigabrt, NULL); in sendto_0010()
186 struct sigaction sigabrt = { in recvfrom_0010()
189 sigaction(SIGABRT, &sigabrt, NULL); in recvfrom_0010()
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_quit.c55 struct sigaction action;
56 sigaction(SIGINT, NULL, &action);
63 sigaction(SIGINT, &action, NULL);
65 sigaction(SIGTERM, NULL, &action);
73 sigaction(SIGTERM, &action, NULL);
104 struct sigaction action;
105 sigaction(SIGINT, NULL, &action);
108 sigaction(SIGINT, &action, NULL);
110 sigaction(SIGTERM, NULL, &action);
113 sigaction(SIGTERM, &action, NULL);
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerUtilDarwin.cpp29 static struct sigaction OldSigIntAction;
30 static struct sigaction OldSigQuitAction;
48 static struct sigaction IgnoreSignalAction; in ExecuteCommand()
53 if (sigaction(SIGINT, &IgnoreSignalAction, &OldSigIntAction) == -1) { in ExecuteCommand()
58 if (sigaction(SIGQUIT, &IgnoreSignalAction, &OldSigQuitAction) == -1) { in ExecuteCommand()
61 (void)sigaction(SIGINT, &OldSigIntAction, NULL); in ExecuteCommand()
72 (void)sigaction(SIGQUIT, &OldSigQuitAction, NULL); in ExecuteCommand()
73 (void)sigaction(SIGINT, &OldSigIntAction, NULL); in ExecuteCommand()
131 if (sigaction(SIGINT, &OldSigIntAction, NULL) == -1) { in ExecuteCommand()
135 if (sigaction(SIGQUIT, &OldSigQuitAction, NULL) == -1) { in ExecuteCommand()
/third_party/gettext/gettext-tools/src/
Dplural-eval.c77 struct sigaction action; in install_sigfpe_handler()
81 sigaction (SIGFPE, &action, (struct sigaction *) NULL); in install_sigfpe_handler()
91 struct sigaction action; in uninstall_sigfpe_handler()
95 sigaction (SIGFPE, &action, (struct sigaction *) NULL); in uninstall_sigfpe_handler()
/third_party/curl/lib/
Dsigpipe.h31 struct sigaction old_pipe_act;
49 struct sigaction action; in sigpipe_ignore()
51 memset(&ig->old_pipe_act, 0, sizeof(struct sigaction)); in sigpipe_ignore()
52 sigaction(SIGPIPE, NULL, &ig->old_pipe_act); in sigpipe_ignore()
56 sigaction(SIGPIPE, &action, NULL); in sigpipe_ignore()
69 sigaction(SIGPIPE, &ig->old_pipe_act, NULL); in sigpipe_restore()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/
Dtemplate_2-1.in9 Test case for assertion #2 of the sigaction system call that shows
10 sigaction (when used with a non-null oact pointer) changes the action
14 1. Call sigaction to set handler for %%MYSIG%% to use handler1
15 2. Call sigaction again to set handler for %%MYSIG%% to use handler2,
36 struct sigaction act;
37 struct sigaction oact;
42 if (sigaction(%%MYSIG%%, &act, 0) == -1) {
50 if (sigaction(%%MYSIG%%, &act, &oact) == -1) {
Dtemplate_3-1.in9 Test case for assertion #3 of the sigaction system call that shows
10 calling sigaction with a null act argument does not change the
16 3. Call sigaction with a null act
34 struct sigaction act;
35 struct sigaction oact;
40 if (sigaction(%%MYSIG%%, &act, 0) == -1) {
46 if (sigaction(%%MYSIG%%, 0, &oact) == -1) {
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/
Dstress.c103 struct sigaction sa; in flood_receiver()
108 if ((ret = sigaction(SIGABRT, &sa, NULL))) { in flood_receiver()
112 if ((ret = sigaction(SIGBUS, &sa, NULL))) { in flood_receiver()
171 struct sigaction sa; in sync_rec()
176 if ((ret = sigaction(SIGILL, &sa, NULL))) { in sync_rec()
230 struct sigaction sa; in main()
242 if ((ret = sigaction(SIGUSR1, &sa, NULL))) { in main()
246 if ((ret = sigaction(SIGALRM, &sa, NULL))) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D30-1.c93 struct sigaction sa; in main()
114 ret = sigaction(SIG_INVALID, &sa, 0); in main()
133 ret = sigaction(SIGKILL, &sa, 0); in main()
150 ret = sigaction(SIGSTOP, &sa, 0); in main()
169 ret = sigaction(SIGKILL, &sa, 0); in main()
186 ret = sigaction(SIGSTOP, &sa, 0); in main()
D3-21.c34 struct sigaction act; in main()
35 struct sigaction oact; in main()
40 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
46 if (sigaction(SIGSYS, 0, &oact) == -1) { in main()
D3-4.c34 struct sigaction act; in main()
35 struct sigaction oact; in main()
40 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
46 if (sigaction(SIGCHLD, 0, &oact) == -1) { in main()
D3-24.c34 struct sigaction act; in main()
35 struct sigaction oact; in main()
40 if (sigaction(SIGVTALRM, &act, 0) == -1) { in main()
46 if (sigaction(SIGVTALRM, 0, &oact) == -1) { in main()
/third_party/ltp/testcases/kernel/mem/mmapstress/
Dmmap-corruption01.c81 struct sigaction sa; in main()
115 if (sigaction(SIGINT, &sa, 0) == -1) { in main()
120 if (sigaction(SIGALRM, &sa, 0) == -1) { in main()
128 if (sigaction(SIGALRM, &sa, 0) == -1) { in main()
137 if (sigaction(SIGQUIT, &sa, 0) == -1) { in main()
141 if (sigaction(SIGTERM, &sa, 0) == -1) { in main()
/third_party/ntfs-3g/libfuse-lite/
Dfuse_signals.c27 struct sigaction sa; in set_one_signal_handler()
28 struct sigaction old_sa; in set_one_signal_handler()
30 memset(&sa, 0, sizeof(struct sigaction)); in set_one_signal_handler()
35 if (sigaction(sig, NULL, &old_sa) == -1) { in set_one_signal_handler()
41 sigaction(sig, &sa, NULL) == -1) { in set_one_signal_handler()
/third_party/boost/libs/config/test/
Dboost_has_sigaction.ipp9 // TITLE: sigaction
10 // DESCRIPTION: The platform supports POSIX standard API sigaction.
20 struct sigaction* sa1 = 0 ;
21 struct sigaction* sa2 = 0 ;
22 int res = sigaction(0, sa1, sa2);
/third_party/openssl/crypto/
Ds390xcap.c32 struct sigaction ill_act, oact_ill, oact_fpe; in OPENSSL_cpuid_setup()
47 sigaction(SIGILL, &ill_act, &oact_ill); in OPENSSL_cpuid_setup()
48 sigaction(SIGFPE, &ill_act, &oact_fpe); in OPENSSL_cpuid_setup()
64 sigaction(SIGFPE, &oact_fpe, NULL); in OPENSSL_cpuid_setup()
65 sigaction(SIGILL, &oact_ill, NULL); in OPENSSL_cpuid_setup()
/third_party/musl/src/process/
Dsystem.c15 struct sigaction sa = { .sa_handler = SIG_IGN }, oldint, oldquit; in system()
23 sigaction(SIGINT, &sa, &oldint); in system()
24 sigaction(SIGQUIT, &sa, &oldquit); in system()
40 sigaction(SIGINT, &oldint, NULL); in system()
41 sigaction(SIGQUIT, &oldquit, NULL); in system()
/third_party/musl/porting/liteos_a/user/src/process/
Dsystem.c16 struct sigaction sa = { .sa_handler = SIG_IGN }, oldint, oldquit; in system()
26 sigaction(SIGINT, &sa, &oldint); in system()
27 sigaction(SIGQUIT, &sa, &oldquit); in system()
43 sigaction(SIGINT, &oldint, NULL); in system()
44 sigaction(SIGQUIT, &oldquit, NULL); in system()
/third_party/abseil-cpp/absl/debugging/internal/
Dstack_consumption.cc129 struct sigaction sa; in GetSignalHandlerStackConsumption()
131 struct sigaction old_sa1, old_sa2; in GetSignalHandlerStackConsumption()
137 ABSL_RAW_CHECK(sigaction(SIGUSR1, &sa, &old_sa1) == 0, "sigaction() failed"); in GetSignalHandlerStackConsumption()
141 ABSL_RAW_CHECK(sigaction(SIGUSR2, &sa, &old_sa2) == 0, "sigaction() failed"); in GetSignalHandlerStackConsumption()
169 ABSL_RAW_CHECK(sigaction(SIGUSR1, &old_sa1, nullptr) == 0, in GetSignalHandlerStackConsumption()
171 ABSL_RAW_CHECK(sigaction(SIGUSR2, &old_sa2, nullptr) == 0, in GetSignalHandlerStackConsumption()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dstack_consumption.cc129 struct sigaction sa; in GetSignalHandlerStackConsumption()
131 struct sigaction old_sa1, old_sa2; in GetSignalHandlerStackConsumption()
137 ABSL_RAW_CHECK(sigaction(SIGUSR1, &sa, &old_sa1) == 0, "sigaction() failed"); in GetSignalHandlerStackConsumption()
141 ABSL_RAW_CHECK(sigaction(SIGUSR2, &sa, &old_sa2) == 0, "sigaction() failed"); in GetSignalHandlerStackConsumption()
169 ABSL_RAW_CHECK(sigaction(SIGUSR1, &old_sa1, nullptr) == 0, in GetSignalHandlerStackConsumption()
171 ABSL_RAW_CHECK(sigaction(SIGUSR2, &old_sa2, nullptr) == 0, in GetSignalHandlerStackConsumption()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
Dsigaction.c29 struct sigaction act, oldact; in signal_0100()
30 int ret = sigaction(SIGILL, &act, &oldact); in signal_0100()
42 struct sigaction act, oldact; in signal_0200()
43 int ret = sigaction(-1, &act, &oldact); in signal_0200()

12345678910>>...44