Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()