| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
| 25-20.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGPROF 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGPROF 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-21.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGSYS 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGSYS 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-22.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGTRAP 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGTRAP 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-23.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGURG 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGURG 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-24.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGVTALRM 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGVTALRM 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-25.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGXCPU 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGXCPU 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-26.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGXFSZ 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGXFSZ 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-3.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGBUS 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGBUS 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-4.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGCHLD 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGCHLD 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-5.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGCONT 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGCONT 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-6.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGFPE 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGFPE 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-7.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGHUP 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGHUP 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-8.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGILL 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGILL 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 25-9.c | 11 signal in the signal handler and verifying that the handler is not 17 3. (child) Setup a signal handler for SIGINT 19 5. (child, signal handler) increment handler count 20 6. (child, signal handler) if count is 1 then raise SIGINT 21 7. (child, signal handler) if count is 2 then set error variable 37 void handler(int signo) function 43 printf("Signal caught while inside handler\n"); 67 act.sa_handler = handler; [all...] |
| 30-1.c | 23 * -> Try setting a signal handler for signal SIGRTMAX + 1 24 * -> Try setting a signal handler for SIGKILL 25 * -> Try setting a signal handler for SIGSTOP 85 void handler(int signo) function 100 /* Set the signal handler */ 103 sa.sa_handler = handler; 111 /* Install the signal handler for SIGRTMAX */ 121 FAILED("Setting handler for invalid signal did not fail"); 130 /* Install the signal handler for SIGKILL */ 138 FAILED("Setting handler for SIGKILL did not fail") [all...] |
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/ |
| 1-1.c | 13 that the signal stack that the handler is being executed on is the same alternate 17 Instead, what I do is declare an integer i inside the handler and verify that 33 void handler() function 51 act.sa_handler = handler;
|
| 10-1.c | 23 void handler() function 25 printf("Just a dummy handler\n"); 33 act.sa_handler = handler;
|
| 11-1.c | 13 - Set up a dummy handler for signal SIGTOTEST and set the sa_flags member to SA_ONSTACK. 32 void handler() function 34 printf("Just a dummy handler\n"); 42 act.sa_handler = handler;
|
| 12-1.c | 13 - Set up a dummy handler for signal SIGTOTEST and set the sa_flags member to SA_ONSTACK. 32 void handler() function 34 printf("Just a dummy handler\n"); 42 act.sa_handler = handler;
|
| 3-1.c | 13 - Set up a handler for signal SIGTOTEST and set the sa_flags member to SA_ONSTACK. 17 - Inside the handler, use sigaltstack to examine/obtain the current alternate signal 36 void handler() function 66 act.sa_handler = handler;
|
| 5-1.c | 22 void handler() function 33 act.sa_handler = handler;
|
| 6-1.c | 13 - Set up a handler for signal SIGTOTEST and set the sa_flags member to SA_ONSTACK. 17 - Inside the handler, use sigaltstack to examine/obtain the current alternate signal 32 void handler() function 44 ("Test FAILED: The alternate stack's ss_flags member does not contain SS_ONSTACK even though the handler is executing on the alternate stack\n"); 54 act.sa_handler = handler;
|
| 7-1.c | 13 - Set up a handler for signal SIGTOTEST and set the sa_flags member to SA_ONSTACK. 17 - Inside the handler, try to change the alternate signal stack to altstack2, and verify 32 void handler() function 47 ("Test FAILED: Attempt to set change alternate stack while inside handler succeeded.\n"); 57 act.sa_handler = handler;
|
| 8-1.c | 13 - Set up a handler for signal SIGTOTEST and set the sa_flags member to SA_ONSTACK. 17 - Inside the handler, use sigaltstack to examine/obtain the current alternate signal 32 void handler() function 54 act.sa_handler = handler;
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpending/ |
| 1-3.c | 10 * in the main function and in the signal handler. 12 * 2) Block three signals from delivery to a signal handler. 13 * 3) Raise the signal to get into that signal handler. 14 * From the signal handler: 15 * 4) Raise one blocked signal in the signal handler. 28 * Signal handler uses exit() to leave so that the signals are not executed. 36 void handler(int signo) function 85 act.sa_handler = handler;
|