Home
last modified time | relevance | path

Searched refs:SIGHUP (Results 1 – 25 of 196) sorted by relevance

12345678

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D28-7.c63 if (signal(SIGHUP, handler_1) == SIG_ERR) { in main()
83 ret = sigaction(SIGHUP, &sa, &save); in main()
91 ret = raise(SIGHUP); in main()
104 ret = sigaction(SIGHUP, &save, 0); in main()
112 ret = raise(SIGHUP); in main()
D3-7.c40 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
46 if (sigaction(SIGHUP, 0, &oact) == -1) { in main()
52 if (raise(SIGHUP) == -1) { in main()
D22-7.c54 raise(SIGHUP); in handler()
71 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
77 if (raise(SIGHUP) == -1) { in main()
D25-7.c53 raise(SIGHUP); in handler()
70 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
76 if (raise(SIGHUP) == -1) { in main()
D8-8.c32 raise(SIGHUP); in SIGILL_handler()
46 sigaddset(&act.sa_mask, SIGHUP); in main()
56 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
D19-7.c50 if (info->si_signo != SIGHUP) { in handler()
85 ret = sigaction(SIGHUP, &sa, 0); in main()
98 ret = raise(SIGHUP); in main()
D1-7.c40 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
46 if (raise(SIGHUP) == -1) { in main()
D6-7.c38 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
44 if (raise(SIGHUP) == -1) { in main()
D4-7.c54 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
60 if (raise(SIGHUP) == -1) { in main()
D18-7.c67 ret = sigaction(SIGHUP, &sa, 0); in main()
80 ret = raise(SIGHUP); in main()
D2-7.c40 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
48 if (sigaction(SIGHUP, &act, &oact) == -1) { in main()
D13-7.c51 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
63 if (raise(SIGHUP) == -1) { in main()
D12-33.c50 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
62 if (raise(SIGHUP) == -1) { in main()
D4-33.c53 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
59 if (raise(SIGHUP) == -1) { in main()
D8-7.c47 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
62 if (raise(SIGHUP) == -1) { in main()
D12-7.c52 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
72 if (raise(SIGHUP) == -1) { in main()
D17-7.c48 sigaction(SIGHUP, &act, 0); in main()
82 kill(pid, SIGHUP); in main()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv05.c25 if (sig == SIGHUP) in sighandler()
47 SAFE_KILL(pid, SIGHUP); in do_test()
55 SAFE_SIGNAL(SIGHUP, sighandler); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/
Dmsgsnd05.c50 if (sig == SIGHUP) in sighandler()
68 SAFE_SIGNAL(SIGHUP, sighandler); in do_test()
74 SAFE_KILL(pid, SIGHUP); in do_test()
/third_party/glib/glib/tests/
Dunix.c183 test_signal (SIGHUP); in test_sighup()
199 id = g_unix_signal_add (SIGHUP, on_sig_received, NULL); in test_sighup_add_remove()
202 sigaction (SIGHUP, NULL, &action); in test_sighup_add_remove()
216 source = g_unix_signal_source_new (SIGHUP); in nested_idle()
221 kill (getpid (), SIGHUP); in nested_idle()
240 g_unix_signal_add (SIGHUP, on_sig_received, mainloop); in test_sighup_nested()
/third_party/libwebsockets/lwsws/
Dmain.c104 case SIGHUP: in signal_cb()
211 case SIGHUP: /* reload */ in reload_handler()
217 kill(pids[m], SIGHUP); in reload_handler()
281 signal(SIGHUP, reload_handler); in main()
331 uv_signal_start(&signal_outer[1], signal_cb, SIGHUP); in main()
/third_party/ninja/src/
Dsubprocess-posix.cc161 || WTERMSIG(status) == SIGHUP) in Finish()
192 else if (sigismember(&pending, SIGHUP)) in HandlePendingInterruption()
193 interrupted_ = SIGHUP; in HandlePendingInterruption()
201 sigaddset(&set, SIGHUP); in SubprocessSet()
212 if (sigaction(SIGHUP, &act, &old_hup_act_) < 0) in SubprocessSet()
223 if (sigaction(SIGHUP, &old_hup_act_, 0) < 0) in ~SubprocessSet()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop03.c61 if (sig != SIGHUP) in sighandler()
76 SAFE_SIGNAL(SIGHUP, sighandler); in setup()
116 SAFE_KILL(pid, SIGHUP); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpending/
D1-1.c33 (sigaddset(&blockset, SIGHUP) == -1) || in main()
61 if (sigismember(&pendingset, SIGHUP) == 0) { in main()
/third_party/ltp/testcases/network/stress/ns-tools/
Dkillall_tcp_traffic59 killall -SIGHUP ns-tcpserver >/dev/null 2>&1
76 killall -SIGHUP ns-tcpserver >/dev/null 2>&1

12345678