/third_party/libuv/test/ |
D | test-signal.c | 162 start_timer(loop, SIGCHLD, &tc); in TEST_IMPL() 163 start_watcher(loop, SIGCHLD, &sc, 0); in TEST_IMPL() 169 start_timer(loop, SIGCHLD, &tc); in TEST_IMPL() 176 uv_signal_start(&sc.handle, signal_cb, SIGCHLD); in TEST_IMPL() 178 start_timer(loop, SIGCHLD, &tc); in TEST_IMPL() 219 start_timer(loop, SIGCHLD, &tc); in TEST_IMPL() 220 start_watcher(loop, SIGCHLD, &sc, 1); in TEST_IMPL() 226 start_timer(loop, SIGCHLD, &tc); in TEST_IMPL() 232 uv_signal_start_oneshot(&sc.handle, signal_cb_one_shot, SIGCHLD); in TEST_IMPL() 233 start_timer(loop, SIGCHLD, &tc); in TEST_IMPL() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/clone3/ |
D | clone302.c | 36 {"invalid args", &invalid_args, sizeof(*valid_args), 0, NULL, SIGCHLD, 0, 0, 0, EFAULT}, 37 {"zero size", &valid_args, 0, 0, NULL, SIGCHLD, 0, 0, 0, EINVAL}, 38 …{"short size", &valid_args, sizeof(struct clone_args_minimal) - 1, 0, NULL, SIGCHLD, 0, 0, 0, EINV… 39 {"extra size", &valid_args, sizeof(*valid_args) + 1, 0, NULL, SIGCHLD, 0, 0, 0, EFAULT}, 40 {"sighand-no-VM", &valid_args, sizeof(*valid_args), CLONE_SIGHAND, NULL, SIGCHLD, 0, 0, 0, EINVAL}, 41 …{"thread-no-sighand", &valid_args, sizeof(*valid_args), CLONE_THREAD, NULL, SIGCHLD, 0, 0, 0, EINV… 42 …{"fs-newns", &valid_args, sizeof(*valid_args), CLONE_FS | CLONE_NEWNS, NULL, SIGCHLD, 0, 0, 0, EIN… 43 …{"invalid pidfd", &valid_args, sizeof(*valid_args), CLONE_PIDFD, &invalid_address, SIGCHLD, 0, 0, … 45 …{"zero-stack-size", &valid_args, sizeof(*valid_args), 0, NULL, SIGCHLD, (unsigned long)&stack, 0, … 46 {"invalid-stack", &valid_args, sizeof(*valid_args), 0, NULL, SIGCHLD, 0, 4, 0, EINVAL},
|
D | clone301.c | 32 {0, SIGCHLD}, 34 {CLONE_FS, SIGCHLD}, 35 {CLONE_NEWPID, SIGCHLD}, 36 {CLONE_PARENT_SETTID | CLONE_CHILD_SETTID | CLONE_PIDFD, SIGCHLD},
|
/third_party/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()
|
/third_party/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 | 50 if (info->si_signo != SIGCHLD) { in handler() 85 ret = sigaction(SIGCHLD, &sa, 0); in main() 98 ret = raise(SIGCHLD); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
D | killpg.c | 28 case SIGCHLD: in ChildFunc() 49 sigaddset(&sigset, SIGCHLD); in killpg_0100() 54 int ret = killpg(getpgrp(), SIGCHLD); in killpg_0100() 58 signal(SIGCHLD, ChildFunc); in killpg_0100()
|
/third_party/musl/libc-test/src/eabi/ |
D | __sigtimedwait_time64.c | 35 sigaddset(&set, SIGCHLD); in sigtimedwait_0100() 46 sigaddset(&set2, SIGCHLD); in sigtimedwait_0100() 64 sigaddset(&set, SIGCHLD); in sigtimedwait_time64_0100() 75 sigaddset(&set2, SIGCHLD); in sigtimedwait_time64_0100()
|
/third_party/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()
|
/third_party/ltp/libs/libltpsigwait/ |
D | sigwait.c | 132 SAFE_SIGADDSET(&sigs, SIGCHLD); in test_masked_matching() 139 SAFE_SIGDELSET(&sigs, SIGCHLD); in test_masked_matching() 184 SAFE_SIGADDSET(&sigs, SIGCHLD); in test_masked_matching_rt() 191 SAFE_SIGDELSET(&sigs, SIGCHLD); in test_masked_matching_rt() 245 SAFE_SIGADDSET(&sigs, SIGCHLD); in test_masked_matching_noinfo() 252 SAFE_SIGDELSET(&sigs, SIGCHLD); in test_masked_matching_noinfo() 287 SAFE_SIGADDSET(&sigs, SIGCHLD); in test_bad_address() 294 SAFE_SIGDELSET(&sigs, SIGCHLD); in test_bad_address()
|
/third_party/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()
|
D | 3-1.c | 32 if (signal(SIGCHLD, myhandler) == SIG_ERR) { in main() 37 raise(SIGCHLD); in main()
|
/third_party/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 49 {"CLONE_PARENT", CLONE_PARENT | SIGCHLD, 51 {"CLONE_CHILD_SETTID", CLONE_CHILD_SETTID | SIGCHLD, 53 {"CLONE_PARENT_SETTID", CLONE_PARENT_SETTID | CLONE_VM | SIGCHLD, 56 CLONE_CHILD_CLEARTID | SIGCHLD,
|
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/ |
D | dirtyc0w_shmem.c | 36 if (sig == SIGCHLD) { in sighandler() 77 SAFE_SIGNAL(SIGCHLD, sighandler); in dirtyc0w_shmem_test() 88 SAFE_SIGNAL(SIGCHLD, SIG_DFL); in dirtyc0w_shmem_test()
|
/third_party/ltp/lib/ |
D | tst_virt.c | 117 void *old_handler = signal(SIGCHLD, SIG_DFL); in try_systemd_detect_virt() 121 signal(SIGCHLD, old_handler); in try_systemd_detect_virt() 130 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
D | kill12.c | 89 if (sigset(SIGCHLD, chsig) == SIG_ERR) { in main() 112 kill(pid, SIGCHLD); /* child should exit */ in main() 202 kill(getppid(), SIGCHLD); /* tell parent we are ready */ in do_child()
|