Searched refs:sig_action (Results 1 – 9 of 9) sorted by relevance
/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/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/libcap/tests/ |
D | exploit.c | 84 struct sigaction sig_action; in main() local 128 sig_action.sa_sigaction = &handler; in main() 129 sigemptyset(&sig_action.sa_mask); in main() 130 sig_action.sa_flags = SA_SIGINFO | SA_RESTART;; in main() 131 sigaction(SIGRTMIN, &sig_action, NULL); in main()
|
/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/llvm-project/libcxx/test/libcxx/thread/thread.threads/thread.thread.this/ |
D | sleep_for.signals.pass.cpp | 39 void sig_action(int) {} in sig_action() function 45 action.sa_handler = &sig_action; 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/libcap/psx/ |
D | psx.c | 92 struct sigaction sig_action; member 201 psx_tracker.sig_action.sa_sigaction = psx_posix_syscall_actor; in psx_confirm_sigaction() 202 sigemptyset(&psx_tracker.sig_action.sa_mask); in psx_confirm_sigaction() 203 psx_tracker.sig_action.sa_flags = SA_SIGINFO | SA_ONSTACK | SA_RESTART; in psx_confirm_sigaction() 204 sigaction(psx_tracker.psx_sig, &psx_tracker.sig_action, NULL); in psx_confirm_sigaction()
|
/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()
|