/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/writev/ |
D | writev02.c | 86 void sighandler(int); 113 if (signal(SIGTERM, sighandler) == SIG_ERR) in main() 117 if (signal(SIGPIPE, sighandler) == SIG_ERR) in main() 173 tst_sig(FORK, sighandler, cleanup); in setup() 204 void sighandler(int sig) in sighandler() function
|
D | writev06.c | 73 void sighandler(int); 93 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main() 100 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main() 215 void sighandler(int sig) in sighandler() function
|
D | writev05.c | 81 void sighandler(int); 109 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main() 115 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main() 242 void sighandler(int sig) in sighandler() function
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/mem/ksm/ |
D | ksm05.c | 47 static void sighandler(int sig); 58 sa.sa_handler = sighandler; in test_ksm() 81 static void sighandler(int sig) in sighandler() function
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
D | hugeshmdt01.c | 43 static void sighandler(int sig); 49 sa.sa_handler = sighandler; in hugeshmdt_test() 101 static void sighandler(int sig) in sighandler() function
|
/third_party/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
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/sigpending/ |
D | sigpending02.c | 55 static void sighandler(int signum LTP_ATTRIBUTE_UNUSED) in sighandler() function 76 old_sighandler1 = SAFE_SIGNAL(SIGUSR1, sighandler); in test_sigpending() 77 old_sighandler2 = SAFE_SIGNAL(SIGUSR2, sighandler); in test_sigpending()
|
/third_party/ltp/testcases/kernel/syscalls/tkill/ |
D | tkill01.c | 25 static void sighandler(int sig) in sighandler() function 33 SAFE_SIGNAL(SIGUSR1, sighandler); in setup()
|
/third_party/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 | 50 static void sighandler(int sig) in sighandler() function 58 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
|
D | alarm02.c | 65 static void sighandler(int sig) in sighandler() function 73 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/mem/cpuset/ |
D | cpuset01.c | 45 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED); 99 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED) in sighandler() function 128 sa.sa_handler = sighandler; in mem_hog_cpuset()
|
/third_party/ltp/testcases/kernel/mem/tunable/ |
D | min_free_kbytes.c | 50 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED); 57 sa.sa_handler = sighandler; in min_free_kbytes_test() 205 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED) in sighandler() function
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv05.c | 23 static void sighandler(int sig) in sighandler() function 55 SAFE_SIGNAL(SIGHUP, sighandler); in setup()
|
/third_party/libunwind/tests/ |
D | ia64-test-sig.c | 39 sighandler (int signal) in sighandler() function 97 signal (SIGSEGV, sighandler); in main()
|