Home
last modified time | relevance | path

Searched refs:sig_handler (Results 1 – 25 of 45) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/syslog/
Dsyslogtst.c36 void sig_handler(int signal);
46 signal(SIGINT, sig_handler); in main()
47 signal(SIGTERM, sig_handler); in main()
48 signal(SIGHUP, sig_handler); in main()
49 signal(SIGABRT, sig_handler); in main()
50 signal(SIGSEGV, sig_handler); in main()
51 signal(SIGQUIT, sig_handler); in main()
304 void sig_handler(int signal) in sig_handler() function
/third_party/ltp/testcases/kernel/syscalls/sigaltstack/
Dsigaltstack01.c92 void sig_handler(int); /* signal catching function */
119 act.sa_handler = (void (*)())sig_handler; in main()
188 act.sa_handler = (void (*)(int))sig_handler; in setup()
218 void sig_handler(int n) in sig_handler() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
D3-2.c27 static void sig_handler() in sig_handler() function
49 act.sa_handler = sig_handler; in main()
63 sig_handler(); in main()
D3-1.c26 static void sig_handler() in sig_handler() function
42 act.sa_handler = sig_handler; in main()
D1-1.c38 static void sig_handler() in sig_handler() function
66 act.sa_handler = sig_handler; in fn_chld()
/third_party/ltp/testcases/kernel/mem/mtest06/
Dmmap3.c102 static void sig_handler(int signal) in sig_handler() function
146 SAFE_SIGNAL(SIGALRM, sig_handler); in setup()
147 SAFE_SIGNAL(SIGBUS, sig_handler); in setup()
148 SAFE_SIGNAL(SIGSEGV, sig_handler); in setup()
/third_party/ltp/testcases/kernel/syscalls/vfork/
Dvfork02.c88 void sig_handler(); /* signal catching function */
178 if (signal(SIGUSR1, sig_handler) == SIG_ERR) { in setup()
211 void sig_handler(void) in sig_handler() function
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap13.c57 static void sig_handler(int sig);
105 tst_sig(NOFORK, sig_handler, cleanup); in setup()
128 static void sig_handler(int sig) in sig_handler() function
Dmmap05.c65 static void sig_handler(int sig);
132 tst_sig(NOFORK, sig_handler, cleanup); in setup()
189 static void sig_handler(int sig) in sig_handler() function
Dmmap03.c69 static void sig_handler(int sig);
154 tst_sig(NOFORK, sig_handler, cleanup); in setup()
215 static void sig_handler(int sig) in sig_handler() function
/third_party/ltp/testcases/kernel/syscalls/sigprocmask/
Dsigprocmask01.c86 void sig_handler(int sig); /* signal catching function */
227 sa_new.sa_handler = sig_handler; in setup()
254 void sig_handler(int sig) in sig_handler() function
/third_party/ltp/testcases/kernel/syscalls/munmap/
Dmunmap01.c91 void sig_handler(); /* signal catching function */
158 if (signal(SIGSEGV, sig_handler) == SIG_ERR) { in setup()
223 void sig_handler(void) in sig_handler() function
Dmunmap02.c93 void sig_handler(); /* signal catching function */
162 if (signal(SIGSEGV, sig_handler) == SIG_ERR) { in setup()
236 void sig_handler(void) in sig_handler() function
/third_party/ltp/testcases/kernel/syscalls/pause/
Dpause01.c10 static void sig_handler(int sig LTP_ATTRIBUTE_UNUSED) in sig_handler() function
16 SAFE_SIGNAL(SIGINT, sig_handler); in do_child()
/third_party/ltp/testcases/kernel/controllers/cpuacct/
Dcpuacct_task.c32 static void sig_handler(int signo) in sig_handler() function
58 sa.sa_handler = sig_handler; in main()
/third_party/ltp/testcases/kernel/syscalls/sigsuspend/
Dsigsuspend01.c24 static void sig_handler(int sig) in sig_handler() function
70 .sa_handler = sig_handler, in setup()
/third_party/ltp/testcases/kernel/syscalls/rt_sigsuspend/
Drt_sigsuspend01.c19 static void sig_handler(int sig) in sig_handler() function
28 struct sigaction act = {.sa_handler = sig_handler}; in verify_rt_sigsuspend()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/
D1-1.c39 static void sig_handler() in sig_handler() function
62 act.sa_handler = sig_handler; in fn_chld()
/third_party/ltp/testcases/kernel/syscalls/nanosleep/
Dnanosleep02.c93 static void sig_handler(int si LTP_ATTRIBUTE_UNUSED) in sig_handler() function
100 SAFE_SIGNAL(SIGINT, sig_handler); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/
Dmsgstress01.c65 static void sig_handler();
120 act.sa_handler = sig_handler; in main()
253 static void sig_handler(void) in sig_handler() function
Dmsgstress03.c62 static void sig_handler(int signo);
125 act.sa_handler = sig_handler; in main()
255 static void sig_handler(int signo LTP_ATTRIBUTE_UNUSED) in sig_handler() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/
D4-1.c61 static void sig_handler() in sig_handler() function
77 act.sa_handler = sig_handler; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
D1-1.c56 static void sig_handler() in sig_handler() function
72 act.sa_handler = sig_handler; in main()
D3-2.c41 static void sig_handler() in sig_handler() function
63 act.sa_handler = sig_handler; in fn_chld()
/third_party/ltp/testcases/kernel/syscalls/rt_sigprocmask/
Drt_sigprocmask01.c69 void sig_handler(int sig) in sig_handler() function
79 act.sa_handler = sig_handler; in main()

12