/external/libbrillo/brillo/ |
D | asynchronous_signal_handler_test.cc | 68 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/ |
D | 28-4.c | 63 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()
|
D | 3-4.c | 40 if (sigaction(SIGCHLD, &act, 0) == -1) { in main() 46 if (sigaction(SIGCHLD, 0, &oact) == -1) { in main() 52 if (raise(SIGCHLD) == -1) { in main()
|
D | 22-4.c | 54 raise(SIGCHLD); in handler() 71 if (sigaction(SIGCHLD, &act, 0) == -1) { in main() 77 if (raise(SIGCHLD) == -1) { in main()
|
D | 25-4.c | 53 raise(SIGCHLD); in handler() 70 if (sigaction(SIGCHLD, &act, 0) == -1) { in main() 76 if (raise(SIGCHLD) == -1) { in main()
|
D | 8-5.c | 32 raise(SIGCHLD); in SIGCONT_handler() 46 sigaddset(&act.sa_mask, SIGCHLD); in main() 56 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
|
D | 19-4.c | 52 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/ |
D | 7-1.c | 52 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()
|
D | 6-1.c | 44 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()
|
D | 4-1.c | 26 if (sigismember(&mask, SIGCHLD)) { in myhandler() 33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main() 38 raise(SIGCHLD); in main()
|
D | 1-1.c | 42 if (sigaction(SIGCHLD, &act, 0) != 0) { in main() 47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main() 52 raise(SIGCHLD); in main()
|
D | 5-1.c | 31 int siglist[] = { SIGABRT, SIGALRM, SIGBUS, SIGCHLD, in is_empty() 67 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main() 72 raise(SIGCHLD); in main()
|
D | 3-1.c | 33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main() 38 raise(SIGCHLD); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/ |
D | 1-3.c | 29 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/ |
D | 1-1.c | 35 if (signal(SIGCHLD, myhandler) == SIG_ERR) { in main() 40 if (signal(SIGCHLD, SIG_DFL) != myhandler) { in main() 45 raise(SIGCHLD); in main()
|
D | 2-1.c | 34 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/ |
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 70 ALRM,2,SIGCHLD \ 81 ALRM,15,SIGCHLD \
|
/external/strace/tests-m32/ |
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 70 ALRM,2,SIGCHLD \ 81 ALRM,15,SIGCHLD \
|
/external/strace/tests/ |
D | qual_signal.test | 56 CHLD SIGCHLD ALRM SIGALRM \ 58 CHLD,SIGALRM ALRM,SIGCHLD \ 70 ALRM,2,SIGCHLD \ 81 ALRM,15,SIGCHLD \
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 54 {"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/ |
D | pidfd_wait.c | 44 .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/ |
D | tst_run_cmd.c | 56 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()
|
D | tst_virt.c | 89 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/ |
D | readpass.c | 68 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/ |
D | sigwaitinfo01.c | 218 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()
|