Searched refs:sig_action (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/syscalls/pidfd_send_signal/ |
D | pidfd_send_signal01.c | 21 static struct sigaction *sig_action; variable 42 SAFE_SIGACTION(SIGNAL, sig_action, NULL); in handle_thread() 76 sig_action = SAFE_MALLOC(sizeof(struct sigaction)); in setup() 78 memset(sig_action, 0, sizeof(*sig_action)); in setup() 79 sig_action->sa_sigaction = received_signal; in setup() 80 sig_action->sa_flags = SA_SIGINFO; in setup() 95 free(sig_action); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/ |
D | rt_sigqueueinfo01.c | 28 static struct sigaction *sig_action; variable 51 ret = sigaction(SIGNAL, sig_action, NULL); in handle_thread() 83 sig_action = SAFE_MALLOC(sizeof(struct sigaction)); in setup() 85 memset(sig_action, 0, sizeof(*sig_action)); in setup() 86 sig_action->sa_sigaction = received_signal; in setup() 87 sig_action->sa_flags = SA_SIGINFO; in setup() 103 free(sig_action); in cleanup()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
D | harness.c | 95 static struct sigaction sig_action = { variable 111 if (sigaction(SIGINT, &sig_action, NULL)) { in test_harness() 117 if (sigaction(SIGALRM, &sig_action, NULL)) { in test_harness()
|
/external/ltp/testcases/kernel/syscalls/tkill/ |
D | tkill01.c | 72 void sig_action(int sig) in sig_action() function 89 if (signal(SIGUSR1, &sig_action) == SIG_ERR) in main()
|
/external/libcxx/test/libcxx/thread/thread.threads/thread.thread.this/ |
D | sleep_for.pass.cpp | 36 void sig_action(int) {} in sig_action() function 42 action.sa_handler = &sig_action; in main()
|
/external/linux-kselftest/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 156 void sig_action(int signum, siginfo_t *info, void *context); 223 void sig_action(int signum, siginfo_t *info, void *context) in sig_action() function 697 sa.sa_sigaction = sig_action; in main()
|