Home
last modified time | relevance | path

Searched refs:SIGTERM (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/external/strace/tests-m32/
Dqual_signal.test77 test_sigs '' SIGTERM \
78 15 TERM SIGTERM \
79 CHLD,SIGTERM SIGTERM,SIGALRM \
88 test_sigs SIGINT SIGTERM \
90 INT,TERM SIGINT,TERM SIGTERM,INT SIGINT,SIGTERM \
92 2,15 2,TERM SIGTERM,2 TERM,15,SIGINT,2 \
/external/strace/tests/
Dqual_signal.test77 test_sigs '' SIGTERM \
78 15 TERM SIGTERM \
79 CHLD,SIGTERM SIGTERM,SIGALRM \
88 test_sigs SIGINT SIGTERM \
90 INT,TERM SIGINT,TERM SIGTERM,INT SIGINT,SIGTERM \
92 2,15 2,TERM SIGTERM,2 TERM,15,SIGINT,2 \
/external/strace/tests-mx32/
Dqual_signal.test77 test_sigs '' SIGTERM \
78 15 TERM SIGTERM \
79 CHLD,SIGTERM SIGTERM,SIGALRM \
88 test_sigs SIGINT SIGTERM \
90 INT,TERM SIGINT,TERM SIGTERM,INT SIGINT,SIGTERM \
92 2,15 2,TERM SIGTERM,2 TERM,15,SIGINT,2 \
/external/ltp/testcases/kernel/syscalls/rename/
Drename14.c84 if (sigaction(SIGTERM, &act, &oact)) { in main()
115 (void)kill(kidpid[0], SIGTERM); in main()
136 kill(kidpid[0], SIGTERM); in main()
137 kill(kidpid[1], SIGTERM); in main()
158 return (kill(kidpid[0], SIGTERM)); in term()
160 return (kill(kidpid[1], SIGTERM)); in term()
167 return (kill(kidpid[0], SIGTERM)); in al()
169 return (kill(kidpid[1], SIGTERM)); in al()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D28-13.c65 if (signal(SIGTERM, handler_1) == SIG_ERR) { in main()
85 ret = sigaction(SIGTERM, &sa, &save); in main()
93 ret = raise(SIGTERM); in main()
106 ret = sigaction(SIGTERM, &save, 0); in main()
114 ret = raise(SIGTERM); in main()
D3-13.c40 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
46 if (sigaction(SIGTERM, 0, &oact) == -1) { in main()
52 if (raise(SIGTERM) == -1) { in main()
D22-13.c55 raise(SIGTERM); in handler()
72 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
78 if (raise(SIGTERM) == -1) { in main()
D8-14.c32 raise(SIGTERM); in SIGTSTP_handler()
46 sigaddset(&act.sa_mask, SIGTERM); in main()
56 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
D25-13.c53 raise(SIGTERM); in handler()
70 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
76 if (raise(SIGTERM) == -1) { in main()
D19-13.c54 if (info->si_signo != SIGTERM) { in handler()
89 ret = sigaction(SIGTERM, &sa, 0); in main()
102 ret = raise(SIGTERM); in main()
D1-13.c40 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
46 if (raise(SIGTERM) == -1) { in main()
/external/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c247 kill(child, SIGTERM); in main()
275 sigaddset(&set, SIGTERM); in main()
278 kill(0, SIGTERM); in main()
298 kill(0, SIGTERM); in hog_other_cpus()
324 kill(0, SIGTERM); in run_yielder()
337 kill(0, SIGTERM); in run_yielder()
348 if (sigaction(SIGTERM, &new_action, NULL) != 0) { in run_yielder()
412 kill(0, SIGTERM); in run_low_priority()
421 kill(0, SIGTERM); in run_low_priority()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/
D1-1.c106 kill(pid, SIGTERM); in main()
113 kill(pid, SIGTERM); in main()
119 if (s != SIGTERM) { in main()
121 s, SIGTERM); in main()
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl09.c145 if (sigset(SIGTERM, term) == SIG_ERR) { in main()
278 sighold(SIGTERM); in dotest()
285 sigrelse(SIGTERM); in dotest()
356 kill(rkidarray[i], SIGTERM); in dotest()
357 kill(wkidarray[i], SIGTERM); in dotest()
400 if (kill(pidarray[i], SIGTERM) < 0) { in term()
420 kill(rkidarray[i], SIGTERM); in term()
422 kill(wkidarray[i], SIGTERM); in term()
Dmsgctl11.c145 if (sigset(SIGTERM, term) == SIG_ERR) in main()
301 sighold(SIGTERM); in dotest()
308 sigrelse(SIGTERM); in dotest()
377 kill(rkidarray[i], SIGTERM); in dotest()
378 kill(wkidarray[i], SIGTERM); in dotest()
421 if (kill(pidarray[i], SIGTERM) < 0) { in term()
441 kill(rkidarray[i], SIGTERM); in term()
443 kill(wkidarray[i], SIGTERM); in term()
/external/webrtc/webrtc/base/
Dphysicalsocketserver_unittest.cc456 ASSERT_TRUE(ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal)); in TEST_F()
457 raise(SIGTERM); in TEST_F()
459 EXPECT_TRUE(ExpectSignal(SIGTERM)); in TEST_F()
466 ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal); in TEST_F()
469 raise(SIGTERM); in TEST_F()
475 EXPECT_TRUE(ExpectSignal(SIGTERM)); in TEST_F()
499 raise(SIGTERM); in Run()
506 ss_->SetPosixSignalHandler(SIGTERM, &RecordSignal); in TEST_F()
510 sigaddset(&mask, SIGTERM); in TEST_F()
519 EXPECT_TRUE(ExpectSignal(SIGTERM)); in TEST_F()
/external/ltp/testcases/kernel/io/disktest/
Dsignals.c91 case SIGTERM: in sig_handler()
93 handled_signal = SIGTERM; in sig_handler()
141 signal(SIGTERM, sig_handler); in setup_sig_mask()
148 sigaddset(&signal_set, SIGTERM); in setup_sig_mask()
/external/ltp/testcases/kernel/ipc/ipc_stress/
Dsignal_test_02.c176 valid_sig[SIGTERM] = 1; in main()
183 kill(pid, SIGTERM); in main()
188 if (valid_sig[SIGTERM]) in main()
210 sigaddset(&newsetsig, SIGTERM); in main()
220 kill(pid, SIGTERM); in main()
Dsignal_test_01.c200 valid_sig[SIGTERM] = 1; in main()
207 kill(pid, SIGTERM); in main()
212 if (valid_sig[SIGTERM]) in main()
232 sigaddset(&newmask, SIGTERM); in main()
247 kill(pid, SIGTERM); in main()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c119 if (signal(SIGTERM, term) == SIG_ERR) { in main()
235 if (signal(SIGTERM, SIG_IGN) == SIG_ERR) { in runtest()
422 if (signal(SIGTERM, term) == SIG_ERR) { in dochild1_uclinux()
469 if (signal(SIGTERM, term) == SIG_ERR) { in dochild2_uclinux()
525 if (signal(SIGTERM, term) == SIG_ERR) { in dochild3_uclinux()
539 if (kill(pidlist[j], SIGTERM) < 0) { in massmurder()
/external/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_test.sh109 /bin/kill -SIGTERM $!
119 /bin/kill -SIGTERM $!
294 /bin/kill -SIGTERM $! > /dev/null
322 /bin/kill -SIGTERM $pid2
361 /bin/kill -SIGTERM $!
382 /bin/kill -SIGTERM $!
/external/libdaemon/examples/
Dtestd.c65 if ((ret = daemon_pid_file_kill_wait(SIGTERM, 5)) < 0) in main()
123 if (daemon_signal_init(SIGINT, SIGTERM, SIGQUIT, SIGHUP, 0) < 0) { in main()
171 case SIGTERM: in main()
/external/autotest/client/bin/
Dautotestd_monitor15 os.kill(os.getpid(), signal.SIGTERM)
65 os.kill(stdout_pump.pid, signal.SIGTERM)
66 os.kill(stderr_pump.pid, signal.SIGTERM)
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c152 kill(childpid, SIGTERM); in main()
164 kill(childpid, SIGTERM); in main()
176 (void)kill(childpid, SIGTERM); in main()
213 (void)sigaction(SIGTERM, &act, 0); in do_child_uclinux()
453 (void)sigaction(SIGTERM, &act, 0); in setup()
/external/ltp/tools/pounder21/
Dtimed_loop.c42 kill(-test_pgrp, SIGTERM); in int_func()
50 kill(-test_pgrp, SIGTERM); in alarm_func()
119 sigaction(SIGTERM, &zig, NULL); in main()

12345678910>>...15