Home
last modified time | relevance | path

Searched refs:sighandler (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/ltp/testcases/kernel/syscalls/writev/
H A 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
213 tst_resm(TBROK, "sighandler received invalid signal : %d", sig); in sighandler()
H A Dwritev05.c81 void sighandler(int);
109 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main()
115 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main()
239 * sighandler()
242 void sighandler(int sig) in sighandler() function
251 tst_resm(TFAIL, "sighandler() received invalid signal " in sighandler()
H A Dwritev06.c73 void sighandler(int);
93 if (signal(SIGTERM, sighandler) == SIG_ERR) { in main()
100 if (signal(SIGPIPE, sighandler) == SIG_ERR) { in main()
212 * sighandler()
215 void sighandler(int sig) in sighandler() function
224 tst_resm(TFAIL, "sighandler() received invalid signal " in sighandler()
/third_party/ltp/testcases/kernel/syscalls/signal/
H A Dsignal01.c30 void (*sighandler)(int i); member
52 signal(SIGKILL, tc->sighandler); in do_test()
56 TST_EXP_FAIL2((long)signal(SIGKILL, tc->sighandler), EINVAL); in do_test()
H A Dsignal04.c22 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function
31 first = SAFE_SIGNAL(siglist[n], sighandler); in do_test()
34 rval = SAFE_SIGNAL(siglist[n], sighandler); in do_test()
H A Dsignal05.c30 static void sighandler(int sig) in sighandler() function
39 SAFE_SIGNAL(siglist[n], sighandler); in do_test()
H A Dsignal03.c30 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function
39 SAFE_SIGNAL(siglist[n], sighandler); in do_test()
/third_party/ltp/testcases/kernel/mem/ksm/
H A 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/mem/hugetlb/hugeshmdt/
H A 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/alarm/
H A Dalarm05.c35 static void sighandler(int sig) in sighandler() function
43 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
H A Dalarm07.c39 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function
46 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
H A Dalarm02.c46 static void sighandler(int sig) in sighandler() function
54 SAFE_SIGNAL(SIGALRM, sighandler); in setup()
/third_party/ltp/testcases/kernel/syscalls/tkill/
H A Dtkill01.c25 static void sighandler(int sig) in sighandler() function
33 SAFE_SIGNAL(SIGUSR1, sighandler); in setup()
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
H A 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/syscalls/pipe/
H A Dpipe08.c21 static void sighandler(int sig) in sighandler() function
44 SAFE_SIGNAL(SIGPIPE, sighandler); in setup()
/third_party/ltp/testcases/kernel/mem/cpuset/
H A Dcpuset01.c43 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED);
90 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED) in sighandler() function
119 sa.sa_handler = sighandler; in mem_hog_cpuset()
/third_party/ltp/testcases/kernel/mem/tunable/
H A Dmin_free_kbytes.c49 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED);
56 sa.sa_handler = sighandler; in min_free_kbytes_test()
204 static void sighandler(int signo LTP_ATTRIBUTE_UNUSED) in sighandler() function
/third_party/ltp/testcases/kernel/syscalls/kill/
H A Dkill07.c72 void sighandler(int sig);
107 my_act.sa_handler = sighandler; in main()
140 /* sighandler should not catch this signal */ in main()
184 * sighandler() - try to catch SIGKILL
187 void sighandler(int sig) in sighandler() function
/third_party/ltp/testcases/kernel/syscalls/mprotect/
H A Dmprotect02.c46 static void sighandler(int sig);
156 static void sighandler(int sig) in sighandler() function
163 tst_sig(FORK, sighandler, cleanup); in setup()
/third_party/ltp/testcases/kernel/syscalls/sigpending/
H A 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/libunwind/libunwind/tests/
H A Dia64-test-sig.c39 sighandler (int signal) in sighandler() function
52 /* get cursor for caller of sighandler: */ in sighandler()
75 unw_resume (&cursor); /* update context & return to caller of sighandler() */ in sighandler()
97 signal (SIGSEGV, sighandler); in main()
/third_party/ltp/testcases/kernel/controllers/memcg/regression/
H A Dmemcg_test_3.c25 static void sighandler(int sig LTP_ATTRIBUTE_UNUSED) in sighandler() function
42 SAFE_SIGNAL(SIGUSR1, sighandler); in do_test()
/third_party/ltp/testcases/kernel/controllers/cpuctl/
H A Dcpuctl_latency_test.c57 void sighandler(int i) in sighandler() function
72 newaction.sa_handler = &sighandler; in main()
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
H A Dcgroup_fj_proc.c18 void sighandler(UNUSED int signo) in sighandler() function
31 sa.sa_handler = sighandler; in main()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
H A Dmsgrcv05.c23 static void sighandler(int sig) in sighandler() function
55 SAFE_SIGNAL(SIGHUP, sighandler); in setup()

Completed in 7 milliseconds

1234