Home
last modified time | relevance | path

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

12345678910>>...12

/external/libbrillo/brillo/
Dasynchronous_signal_handler_unittest.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()
118 SIGCHLD, in TEST_F()
132 EXPECT_EQ(SIGCHLD, infos_[0].ssi_signo); in TEST_F()
/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()
/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()
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()
D25-4.c53 raise(SIGCHLD); in handler()
70 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
76 if (raise(SIGCHLD) == -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/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-mx32/
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/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/
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()
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()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone08.c64 {"CLONE_PARENT", CLONE_PARENT | SIGCHLD,
66 {"CLONE_CHILD_SETTID", CLONE_CHILD_SETTID | SIGCHLD,
68 {"CLONE_PARENT_SETTID", CLONE_PARENT_SETTID | CLONE_VM | SIGCHLD,
71 {"CLONE_STOPPED", CLONE_STOPPED | CLONE_VM | SIGCHLD,
75 CLONE_CHILD_CLEARTID | SIGCHLD,
/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.c74 void *old_handler = signal(SIGCHLD, SIG_DFL); in try_systemd_detect_virt()
78 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
87 signal(SIGCHLD, old_handler); in try_systemd_detect_virt()
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/
Dsigwaitinfo01.c219 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching()
225 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching()
260 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_rt()
266 SUCCEED_OR_DIE(sigdelset, "sigdelset failed", &sigs, SIGCHLD); in test_masked_matching_rt()
309 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo()
315 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_masked_matching_noinfo()
344 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address()
350 SUCCEED_OR_DIE(sigdelset, "sigaddset failed", &sigs, SIGCHLD); in test_bad_address()
/external/libdaemon/libdaemon/
Ddfork.c152 if (sigaddset(&ss_new, SIGCHLD) < 0) { in daemon_fork()
157 if (sigaction(SIGCHLD, &sa_new, &sa_old) < 0) { in daemon_fork()
166 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork()
176 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork()
189 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork()
262 if (sigaction(SIGCHLD, &sa_old, NULL) < 0) { in daemon_fork()
324 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork()
331 sigaction(SIGCHLD, &sa_old, NULL); in daemon_fork()
/external/honggfuzz/
Dhonggfuzz.c82 if (sig == SIGCHLD) { in sigHandler()
143 sigaddset(&ss, SIGCHLD); in setupSignalsPreThreads()
170 if (sigaction(SIGCHLD, &sa, NULL) == -1) { in setupSignalsPreThreads()
211 sigaddset(&ss, SIGCHLD); in signalThread()
224 if (sig == SIGCHLD) { in signalThread()
/external/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>>...12