Home
last modified time | relevance | path

Searched refs:signal (Results 2376 - 2400 of 6056) sorted by relevance

1...<<919293949596979899100>>...243

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D17-6.c10 errno set to EINTR if a handler for the SIGFPE signal is setup with
17 #include <signal.h>
67 process sending the SIGFPE signal, and the in main()
H A D17-7.c10 errno set to EINTR if a handler for the SIGHUP signal is setup with
17 #include <signal.h>
67 process sending the SIGHUP signal, and the in main()
H A D17-8.c10 errno set to EINTR if a handler for the SIGILL signal is setup with
17 #include <signal.h>
67 process sending the SIGILL signal, and the in main()
H A D17-9.c10 errno set to EINTR if a handler for the SIGINT signal is setup with
17 #include <signal.h>
67 process sending the SIGINT signal, and the in main()
H A D23-11.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGQUIT
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-12.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGSEGV
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-13.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGTERM
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-14.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGTSTP
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-15.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGTTIN
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-16.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGTTOU
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-17.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGUSR1
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-18.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGUSR2
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-19.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGALRM
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
40 #include <signal.h>
82 FAILED("Signal was not masked in signal handler"); in handler()
87 /* Raise the signal again. It should be masked */ in handler()
94 /* check the signal is pending */ in handler()
98 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-4.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGCHLD
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-5.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGCONT
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-6.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGFPE
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-7.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGHUP
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-8.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGILL
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-9.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGINT
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D9-1.c9 the parent has setup a SIGCHLD signal handler with the SA_NOCLDSTOP flag set
20 #include <signal.h>
60 interrupted by a signal */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/
H A D9-1.c21 * Test assertion 9-1 - Prove that an established alternate signal stack
33 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpause/
H A D2-1.c8 This program verifies that sigpause() restores sig to the signal mask before
13 a second to set up for receiving a signal, add SIGTOTEST to its signal
15 2. Have main() send the signal indicated by SIGTOTEST to the new thread,
18 SIGTOTEST. At this point, SIGTOTEST should be restored to the signal mask,
19 so the signal handler should not be called yet, and the signal should be
34 #include <signal.h>
49 printf("signal was called\n"); in handler()
77 printf("Test PASSED: signal mas in a_thread_func()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
H A D12-1.c9 1. Set the signal mask to only having SIGABRT.
15 3. Now verify using the is_changed() function that the only signal that is still
16 in the signal mask is SIGABRT. Neither SIGALRM nor any other signal should be
17 in the signal mask of the process.
21 #include <signal.h>
87 printf("FAIL: signal mask was changed. \n"); in main()
92 printf("FAIL: signal mask was changed. \n"); in main()
96 printf("Test PASSED: signal mask was not changed.\n"); in main()
H A D6-1.c10 complement of the signal set pointed to by set, if the value of the
14 #include <signal.h>
73 ("FAIL: Handler was not called for even though signal was removed from the signal mask\n"); in main()
86 ("FAIL: Hanlder was called for even though signal should have been in the signal mask\n"); in main()
105 printf("Test PASSED: signal was added to the process's signal mask\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D7-1.c8 This program tests the assertion that the lowest pending signal will be
13 - Register for myhandler to be called when any signal between SIGRTMIN
17 signal mask.
27 #include <signal.h>
82 ("Test FAILED: A pending signal was delivered even though a smaller one is still pending.\n"); in main()

Completed in 9 milliseconds

1...<<919293949596979899100>>...243