/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/linux-kselftest/tools/testing/selftests/x86/ |
D | test_FISTTP.c | 129 void sighandler(int sig) in sighandler() function 143 signal(SIGILL, sighandler); in main() 144 signal(SIGFPE, sighandler); in main() 145 signal(SIGSEGV, sighandler); in main()
|
D | test_FCMOV.c | 47 void sighandler(int sig) in sighandler() function 61 signal(SIGILL, sighandler); in main() 62 signal(SIGFPE, sighandler); in main() 63 signal(SIGSEGV, sighandler); in main()
|
D | test_FCOMI.c | 292 void sighandler(int sig) in sighandler() function 306 signal(SIGILL, sighandler); in main() 307 signal(SIGFPE, sighandler); in main() 308 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 194 sethandler(SIGILL, sighandler, 0); in main() 205 sethandler(SIGILL, sighandler, 0); in main() 224 sethandler(SIGSEGV, sighandler, 0); in main()
|
/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/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe08.c | 61 void sighandler(int); 110 void sighandler(int sig) in sighandler() function 124 tst_sig(NOFORK, sighandler, cleanup); in setup()
|
/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/mem/ksm/ |
D | ksm05.c | 77 static void sighandler(int sig); 122 static void sighandler(int sig) in sighandler() function 137 tst_sig(FORK, 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 | 82 static void sighandler(int sig); 151 static void sighandler(int sig) in sighandler() function 169 tst_sig(NOFORK, sighandler, cleanup); in setup()
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat05.c | 109 void sighandler(int sig); /* signals handler function for the test */ 205 signal(siglist[i], &sighandler); in setup() 247 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/mprotect/ |
D | mprotect02.c | 46 static void sighandler(int sig); 160 static void sighandler(int sig) in sighandler() function 167 tst_sig(FORK, sighandler, cleanup); in setup()
|
/external/valgrind/memcheck/tests/solaris/ |
D | context_stack_die.c | 10 static void sighandler(int sig, siginfo_t *sip, void *arg) in sighandler() function 24 sa.sa_sigaction = sighandler; in main()
|
/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/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()
|
/external/valgrind/none/tests/solaris/ |
D | context_link2.c | 8 static void sighandler(int sig, siginfo_t *sip, void *arg) in sighandler() function 29 sa.sa_sigaction = sighandler; in main()
|
/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
D | cgroup_fj_proc.c | 36 void sighandler(UNUSED int signo) in sighandler() function 49 sa.sa_handler = sighandler; in main()
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_latency_test.c | 57 void sighandler(int i) in sighandler() function 72 newaction.sa_handler = &sighandler; in main()
|