/external/ltp/testcases/kernel/syscalls/signal/ |
D | signal01.c | 64 void (*sighandler)(int); member 149 static const char *strhandler(void *sighandler) in strhandler() argument 151 switch ((long)sighandler) { in strhandler() 164 void (*sighandler)(int) = tcases[tcase].sighandler; in do_child() local 166 ret = signal(SIGKILL, sighandler); in do_child() 173 sighandler, strhandler(sighandler)); in do_child() 177 sighandler, strhandler(sighandler)); in do_child() 181 sighandler, strhandler(sighandler)); in do_child()
|
D | signal04.c | 67 void sighandler(int); 111 if ((rval = signal(siglist[i], &sighandler)) == SIG_ERR) { in main() 131 if ((rval = signal(siglist[i], &sighandler)) in main() 161 void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function
|
D | signal05.c | 65 void sighandler(int); 112 Tret = signal(siglist[i], &sighandler); in main() 150 void sighandler(int sig) in sighandler() function
|
D | signal03.c | 65 void sighandler(int); 151 void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function 162 tst_sig(NOFORK, sighandler, cleanup); in setup()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev02.c | 86 void sighandler(int); 114 if (signal(SIGTERM, sighandler) == SIG_ERR) in main() 118 if (signal(SIGPIPE, sighandler) == SIG_ERR) in main() 178 tst_sig(FORK, sighandler, cleanup); in setup() 209 void sighandler(int sig) in sighandler() function
|
D | writev06.c | 73 void sighandler(int); 94 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main() 101 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main() 229 void sighandler(int sig) in sighandler() function
|
D | writev05.c | 81 void sighandler(int); 110 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main() 116 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main() 256 void sighandler(int sig) in sighandler() function
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | test_FISTTP.c | 130 void sighandler(int sig) in sighandler() function 144 signal(SIGILL, sighandler); in main() 145 signal(SIGFPE, sighandler); in main() 146 signal(SIGSEGV, sighandler); in main()
|
D | test_FCMOV.c | 48 void sighandler(int sig) in sighandler() function 62 signal(SIGILL, sighandler); in main() 63 signal(SIGFPE, sighandler); in main() 64 signal(SIGSEGV, sighandler); in main()
|
D | entry_from_vm86.c | 55 static void sighandler(int sig, siginfo_t *info, void *ctx_void) in sighandler() function 240 sethandler(SIGILL, sighandler, 0); in do_umip_tests() 245 sethandler(SIGILL, sighandler, 0); in do_umip_tests() 285 sethandler(SIGILL, sighandler, 0); in main() 296 sethandler(SIGILL, sighandler, 0); in main() 335 sethandler(SIGSEGV, sighandler, 0); in main()
|
D | test_FCOMI.c | 293 void sighandler(int sig) in sighandler() function 307 signal(SIGILL, sighandler); in main() 308 signal(SIGFPE, sighandler); in main() 309 signal(SIGSEGV, sighandler); in main()
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe08.c | 61 void sighandler(int); 112 void sighandler(int sig) in sighandler() function 126 tst_sig(NOFORK, sighandler, cleanup); in setup()
|
/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm05.c | 56 static void sighandler(int sig); 67 sa.sa_handler = sighandler; in test_ksm() 90 static void sighandler(int sig) in sighandler() function
|
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
D | shmdt01.c | 69 void sighandler(int); 162 void sighandler(int sig) in sighandler() function 180 tst_sig(NOFORK, sighandler, cleanup); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv05.c | 151 void sighandler(int sig) in sighandler() function 165 tst_sig(FORK, sighandler, cleanup); in do_child_uclinux() 177 tst_sig(FORK, sighandler, cleanup); in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
D | hugeshmdt01.c | 61 static void sighandler(int sig); 67 sa.sa_handler = sighandler; in hugeshmdt_test() 119 static void sighandler(int sig) in sighandler() function
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat05.c | 110 void sighandler(int sig); /* signals handler function for the test */ 206 signal(siglist[i], &sighandler); in setup() 241 void sighandler(int sig) in sighandler() function
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill07.c | 72 void sighandler(int sig); 107 my_act.sa_handler = sighandler; in main() 187 void sighandler(int sig) in sighandler() function
|
/external/ltp/testcases/kernel/syscalls/sigpending/ |
D | sigpending02.c | 40 static void sighandler(int signum LTP_ATTRIBUTE_UNUSED) in sighandler() function 59 old_sighandler1 = SAFE_SIGNAL(SIGUSR1, sighandler); in test_sigpending() 60 old_sighandler2 = SAFE_SIGNAL(SIGUSR2, sighandler); in test_sigpending()
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect02.c | 46 static void sighandler(int sig); 155 static void sighandler(int sig) in sighandler() function 162 tst_sig(FORK, sighandler, cleanup); in setup()
|
/external/ltp/testcases/kernel/syscalls/epoll_pwait/ |
D | epoll_pwait01.c | 51 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED); 93 sa.sa_handler = sighandler; in setup() 148 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop05.c | 218 void sighandler(int sig) in sighandler() function 235 tst_sig(FORK, sighandler, cleanup); in do_child_uclinux() 252 tst_sig(FORK, sighandler, cleanup); in setup()
|
/external/ltp/testcases/kernel/syscalls/alarm/ |
D | alarm07.c | 46 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function 53 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
|
D | alarm05.c | 63 static void sighandler(int sig) in sighandler() function 71 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
|
/external/ltp/testcases/kernel/controllers/cpuctl_fj/ |
D | cpuctl_fj_cpu-hog.c | 39 void sighandler(UNUSED int signo) in sighandler() function 49 sa.sa_handler = sighandler; in main()
|