Home
last modified time | relevance | path

Searched refs:sig_action (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal01.c21 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/
Drt_sigqueueinfo01.c28 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/
Dharness.c95 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/
Dtkill01.c72 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/
Dsleep_for.pass.cpp36 void sig_action(int) {} in sig_action() function
42 action.sa_handler = &sig_action; in main()
/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_perf_tests.c156 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()