Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/libuv/test/
Dtest-signal.c162 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/
Dclone302.c36 {"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},
Dclone301.c32 {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/
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()
/third_party/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.c50 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/
Dkillpg.c28 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.c35 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/
D1-3.c29 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/
Dsigwait.c132 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/
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()
D3-1.c32 if (signal(SIGCHLD, myhandler) == SIG_ERR) { in main()
37 raise(SIGCHLD); in main()
/third_party/ltp/testcases/kernel/syscalls/clone/
Dclone08.c49 {"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/
Ddirtyc0w_shmem.c36 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/
Dtst_virt.c117 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/
Dkill12.c89 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()

12345678910>>...13