Home
last modified time | relevance | path

Searched refs:SIGCHLD (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/external/libbrillo/brillo/
Dasynchronous_signal_handler_test.cc68 SIGCHLD, in TEST_F()
73 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F()
79 EXPECT_EQ(SIGCHLD, infos_[0].ssi_signo); in TEST_F()
81 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F()
98 SIGCHLD, in TEST_F()
104 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F()
112 EXPECT_EQ(SIGCHLD, infos_[i].ssi_signo); in TEST_F()
120 SIGCHLD,
134 EXPECT_EQ(SIGCHLD, infos_[0].ssi_signo);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D28-4.c63 if (signal(SIGCHLD, handler_1) == SIG_ERR) { in main()
83 ret = sigaction(SIGCHLD, &sa, &save); in main()
91 ret = raise(SIGCHLD); in main()
104 ret = sigaction(SIGCHLD, &save, 0); in main()
112 ret = raise(SIGCHLD); in main()
D3-4.c40 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
46 if (sigaction(SIGCHLD, 0, &oact) == -1) { in main()
52 if (raise(SIGCHLD) == -1) { in main()
D22-4.c54 raise(SIGCHLD); in handler()
71 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
77 if (raise(SIGCHLD) == -1) { in main()
D25-4.c53 raise(SIGCHLD); in handler()
70 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
76 if (raise(SIGCHLD) == -1) { in main()
D8-5.c32 raise(SIGCHLD); in SIGCONT_handler()
46 sigaddset(&act.sa_mask, SIGCHLD); in main()
56 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
D19-4.c52 if (info->si_signo != SIGCHLD) { in handler()
87 ret = sigaction(SIGCHLD, &sa, 0); in main()
100 ret = raise(SIGCHLD); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
D7-1.c52 rc = sigaction(SIGCHLD, &act, 0); in main()
58 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
63 raise(SIGCHLD); in main()
71 rc = sigismember(&pendingset, SIGCHLD); in main()
77 sigrelse(SIGCHLD); in main()
D6-1.c44 rc = sigaction(SIGCHLD, &act, 0); in main()
50 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
55 raise(SIGCHLD); in main()
63 if (sigismember(&pendingset, SIGCHLD) != 1) { in main()
D4-1.c26 if (sigismember(&mask, SIGCHLD)) { in myhandler()
33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
38 raise(SIGCHLD); in main()
D1-1.c42 if (sigaction(SIGCHLD, &act, 0) != 0) { in main()
47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
52 raise(SIGCHLD); in main()
D5-1.c31 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_empty()
67 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
72 raise(SIGCHLD); in main()
D3-1.c33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
38 raise(SIGCHLD); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/
D1-3.c29 if (sigismember(&signalset, SIGCHLD) == 1) { in main()
34 sigdelset(&signalset, SIGCHLD); in main()
36 if (sigismember(&signalset, SIGCHLD) == 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/
D1-1.c35 if (signal(SIGCHLD, myhandler) == SIG_ERR) { in main()
40 if (signal(SIGCHLD, SIG_DFL) != myhandler) { in main()
45 raise(SIGCHLD); in main()
D2-1.c34 if (signal(SIGCHLD, myhandler) == SIG_ERR) { in main()
39 if (signal(SIGCHLD, SIG_IGN) != myhandler) { in main()
44 raise(SIGCHLD); in main()
/external/strace/tests-mx32/
Dqual_signal.test56 CHLD SIGCHLD ALRM SIGALRM \
58 CHLD,SIGALRM ALRM,SIGCHLD \
70 ALRM,2,SIGCHLD \
81 ALRM,15,SIGCHLD \
/external/strace/tests-m32/
Dqual_signal.test56 CHLD SIGCHLD ALRM SIGALRM \
58 CHLD,SIGALRM ALRM,SIGCHLD \
70 ALRM,2,SIGCHLD \
81 ALRM,15,SIGCHLD \
/external/strace/tests/
Dqual_signal.test56 CHLD SIGCHLD ALRM SIGALRM \
58 CHLD,SIGALRM ALRM,SIGCHLD \
70 ALRM,2,SIGCHLD \
81 ALRM,15,SIGCHLD \
/external/ltp/testcases/kernel/syscalls/clone/
Dclone08.c54 {"CLONE_PARENT", CLONE_PARENT | SIGCHLD,
56 {"CLONE_CHILD_SETTID", CLONE_CHILD_SETTID | SIGCHLD,
58 {"CLONE_PARENT_SETTID", CLONE_PARENT_SETTID | CLONE_VM | SIGCHLD,
61 {"CLONE_STOPPED", CLONE_STOPPED | CLONE_VM | SIGCHLD,
65 CLONE_CHILD_CLEARTID | SIGCHLD,
/external/linux-kselftest/tools/testing/selftests/pidfd/
Dpidfd_wait.c44 .exit_signal = SIGCHLD, in test_pidfd_wait_simple()
98 if (info.si_signo != SIGCHLD) in test_pidfd_wait_simple()
129 .exit_signal = SIGCHLD, in test_pidfd_wait_states()
154 if (info.si_signo != SIGCHLD) in test_pidfd_wait_states()
184 if (info.si_signo != SIGCHLD) in test_pidfd_wait_states()
208 if (info.si_signo != SIGCHLD) in test_pidfd_wait_states()
238 if (info.si_signo != SIGCHLD) in test_pidfd_wait_states()
/external/ltp/lib/
Dtst_run_cmd.c56 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_run_cmd_fds_()
90 signal(SIGCHLD, old_handler); in tst_run_cmd_fds_()
165 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_system()
169 signal(SIGCHLD, old_handler); in tst_system()
Dtst_virt.c89 void *old_handler = signal(SIGCHLD, SIG_DFL); in try_systemd_detect_virt()
93 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
102 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
/external/openssh/
Dreadpass.c68 osigchld = ssh_signal(SIGCHLD, SIG_DFL); in ssh_askpass()
71 ssh_signal(SIGCHLD, osigchld); in ssh_askpass()
101 ssh_signal(SIGCHLD, osigchld); in ssh_askpass()
246 osigchld = ssh_signal(SIGCHLD, SIG_DFL); in notify_start()
249 ssh_signal(SIGCHLD, osigchld); in notify_start()
292 ssh_signal(SIGCHLD, ctx->osigchld); in notify_complete()
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/
Dsigwaitinfo01.c218 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching()
224 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching()
259 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_rt()
265 SUCCEED_OR_DIE(sigdelset, "sigdelset failed", &sigs, SIGCHLD); in test_masked_matching_rt()
308 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo()
314 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo()
343 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address()
349 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address()

12345678910>>...14