Home
last modified time | relevance | path

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

123

/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/writev/
Dwritev02.c86 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
Dwritev06.c73 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
Dwritev05.c81 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/
Dpipe08.c61 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/
Dksm05.c47 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/
Dshmdt01.c69 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/
Dhugeshmdt01.c43 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/
Dkill07.c72 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/
Dmprotect02.c46 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/
Dsigpending02.c55 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/
Dtkill01.c25 static void sighandler(int sig) in sighandler() function
33 SAFE_SIGNAL(SIGUSR1, sighandler); in setup()
/third_party/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.c50 static void sighandler(int sig) in sighandler() function
58 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
Dalarm02.c65 static void sighandler(int sig) in sighandler() function
73 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
/third_party/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()
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
Dcgroup_fj_proc.c36 void sighandler(UNUSED int signo) in sighandler() function
49 sa.sa_handler = sighandler; in main()
/third_party/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_latency_test.c57 void sighandler(int i) in sighandler() function
72 newaction.sa_handler = &sighandler; in main()
/third_party/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c45 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/
Dmin_free_kbytes.c50 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/
Dmsgrcv05.c23 static void sighandler(int sig) in sighandler() function
55 SAFE_SIGNAL(SIGHUP, sighandler); in setup()
/third_party/libunwind/tests/
Dia64-test-sig.c39 sighandler (int signal) in sighandler() function
97 signal (SIGSEGV, sighandler); in main()

123