Home
last modified time | relevance | path

Searched refs:sighandler (Results 1 – 25 of 71) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/signal/
Dsignal01.c64 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()
Dsignal04.c67 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
Dsignal05.c65 void sighandler(int);
112 Tret = signal(siglist[i], &sighandler); in main()
150 void sighandler(int sig) in sighandler() function
Dsignal03.c65 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/
Dwritev02.c86 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
Dwritev06.c73 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
Dwritev05.c81 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/
Dtest_FISTTP.c130 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()
Dtest_FCMOV.c48 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()
Dentry_from_vm86.c55 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()
Dtest_FCOMI.c293 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/
Dpipe08.c61 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/
Dksm05.c56 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/
Dshmdt01.c69 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/
Dmsgrcv05.c151 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/
Dhugeshmdt01.c61 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/
Dfstat05.c110 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/
Dkill07.c72 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/
Dsigpending02.c40 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/
Dmprotect02.c46 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/
Depoll_pwait01.c51 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/
Dsemop05.c218 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/
Dalarm07.c46 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function
53 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
Dalarm05.c63 static void sighandler(int sig) in sighandler() function
71 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
/external/ltp/testcases/kernel/controllers/cpuctl_fj/
Dcpuctl_fj_cpu-hog.c39 void sighandler(UNUSED int signo) in sighandler() function
49 sa.sa_handler = sighandler; in main()

123