/third_party/ltp/testcases/kernel/syscalls/syslog/ |
D | syslogtst.c | 36 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/ |
D | sigaltstack01.c | 92 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/ |
D | 3-2.c | 27 static void sig_handler() in sig_handler() function 49 act.sa_handler = sig_handler; in main() 63 sig_handler(); in main()
|
D | 3-1.c | 26 static void sig_handler() in sig_handler() function 42 act.sa_handler = sig_handler; in main()
|
D | 1-1.c | 38 static void sig_handler() in sig_handler() function 66 act.sa_handler = sig_handler; in fn_chld()
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
D | mmap3.c | 102 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/ |
D | vfork02.c | 88 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/ |
D | mmap13.c | 57 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
|
D | mmap05.c | 65 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
|
D | mmap03.c | 69 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/ |
D | sigprocmask01.c | 86 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/ |
D | munmap01.c | 91 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
|
D | munmap02.c | 93 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/ |
D | pause01.c | 10 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/ |
D | cpuacct_task.c | 32 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/ |
D | sigsuspend01.c | 24 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/ |
D | rt_sigsuspend01.c | 19 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/ |
D | 1-1.c | 39 static void sig_handler() in sig_handler() function 62 act.sa_handler = sig_handler; in fn_chld()
|
/third_party/ltp/testcases/kernel/syscalls/nanosleep/ |
D | nanosleep02.c | 93 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/ |
D | msgstress01.c | 65 static void sig_handler(); 120 act.sa_handler = sig_handler; in main() 253 static void sig_handler(void) in sig_handler() function
|
D | msgstress03.c | 62 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/ |
D | 4-1.c | 61 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/ |
D | 1-1.c | 56 static void sig_handler() in sig_handler() function 72 act.sa_handler = sig_handler; in main()
|
D | 3-2.c | 41 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/ |
D | rt_sigprocmask01.c | 69 void sig_handler(int sig) in sig_handler() function 79 act.sa_handler = sig_handler; in main()
|