Home
last modified time | relevance | path

Searched refs:SIGUSR1 (Results 1 – 25 of 76) sorted by relevance

1234

/linux/tools/testing/selftests/filesystems/epoll/
A Depoll_wakeup_test.c46 pthread_kill(ctx->main, SIGUSR1); in kill_timeout()
47 pthread_kill(ctx->waiter, SIGUSR1); in kill_timeout()
478 signal(SIGUSR1, signal_handler); in TEST()
499 pthread_kill(emitter, SIGUSR1); in TEST()
521 signal(SIGUSR1, signal_handler); in TEST()
542 pthread_kill(emitter, SIGUSR1); in TEST()
564 signal(SIGUSR1, signal_handler); in TEST()
589 pthread_kill(emitter, SIGUSR1); in TEST()
613 signal(SIGUSR1, signal_handler); in TEST()
638 pthread_kill(emitter, SIGUSR1); in TEST()
[all …]
/linux/tools/testing/selftests/x86/
A Dvdso_restorer.c67 if (syscall(SYS_rt_sigaction, SIGUSR1, &sa, NULL, 8) != 0) in main()
70 raise(SIGUSR1); in main()
83 if (syscall(SYS_sigaction, SIGUSR1, &sa, 0) != 0) in main()
87 raise(SIGUSR1); in main()
A Dptrace_syscall.c158 sethandler(SIGUSR1, empty_handler, 0); in test_sys32_regs()
162 args.arg1 = SIGUSR1; in test_sys32_regs()
165 args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || in test_sys32_regs()
172 clearhandler(SIGUSR1); in test_sys32_regs()
309 setsigign(SIGUSR1, SA_RESTART); in test_restart_under_ptrace()
345 kill(chld, SIGUSR1); in test_restart_under_ptrace()
A Dsysret_rip.c108 raise(SIGUSR1); in test_sigreturn_to()
169 sethandler(SIGUSR1, sigusr1, 0); in main()
173 clearhandler(SIGUSR1); in main()
A Dcorrupt_xstate_header.c77 sethandler(SIGUSR1, sigusr1, 0); in main()
95 raise(SIGUSR1); in main()
A Dsigreturn.c538 clearhandler(SIGUSR1); in test_nonstrict_ss()
605 raise(SIGUSR1); in test_valid_sigreturn()
714 raise(SIGUSR1); in test_bad_iret()
778 sethandler(SIGUSR1, sigusr1, 0); in main()
/linux/tools/testing/selftests/powerpc/signal/
A Dsignal.c30 if (sig == SIGUSR1) in signal_handler()
46 if (sigaction(SIGUSR1, &act, NULL) < 0) { in test_signal()
63 signal_self(ppid, SIGUSR1); in test_signal()
85 rc = signal_self(ppid, SIGUSR1); in test_signal()
A Dsigreturn_vdso.c82 assert(sigaction(SIGUSR1, &act, NULL) == 0); in test_sigreturn_vdso()
89 kill(getpid(), SIGUSR1); in test_sigreturn_vdso()
101 kill(getpid(), SIGUSR1); in test_sigreturn_vdso()
117 kill(getpid(), SIGUSR1); in test_sigreturn_vdso()
A Dsignal_tm.c35 if (sig == SIGUSR1) in signal_handler()
49 if (sigaction(SIGUSR1, &act, NULL) < 0) { in test_signal_tm()
73 rc = tm_signal_self(getpid(), SIGUSR1, &ret); in test_signal_tm()
A Dsig_sc_double_restart.c106 if (sigaction(SIGUSR1, &act, NULL) == -1) { in test_restart()
147 kill(pid, SIGUSR1); in test_restart()
/linux/tools/testing/selftests/rlimits/
A Drlimits-per-userns.c61 signal(SIGUSR1, SIG_DFL); in fork_child()
140 kill(child[i], SIGUSR1); in main()
152 if (WIFSIGNALED(wstatus[i]) && WTERMSIG(wstatus[i]) == SIGUSR1) in main()
/linux/tools/testing/selftests/futex/functional/
A Dfutex_requeue_pi_signal_restart.c151 if (sigaction(SIGUSR1, &sa, NULL)) { in main()
177 pthread_kill(waiter, SIGUSR1); in main()
208 pthread_kill(waiter, SIGUSR1); in main()
/linux/tools/testing/selftests/powerpc/tm/
A Dtm-signal-msr-resv.c58 if (sigaction(SIGUSR1, &act, NULL) < 0) { in tm_signal_msr_resv()
65 raise(SIGUSR1); in tm_signal_msr_resv()
A Dtm-signal-context-force-tm.c153 sigaction(SIGUSR1, &usr_sa, NULL); in tm_trap_test()
157 raise(SIGUSR1); in tm_trap_test()
A Dtm-trap.c230 pthread_kill(t1_pong, SIGUSR1); in ping()
268 sigaction(SIGUSR1, &usr1_sa, NULL); in tm_trap_test()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsend_signal_sched_switch.c36 signal(SIGUSR1, sigusr1_handler); in serial_test_send_signal_sched_switch()
43 skel->bss->sig = SIGUSR1; in serial_test_send_signal_sched_switch()
A Dsend_signal.c45 signal(SIGUSR1, sigusr1_handler); in test_send_signal_common()
114 skel->bss->sig = SIGUSR1; in test_send_signal_common()
/linux/tools/testing/selftests/powerpc/mm/
A Dstack_expansion_signal.c58 if (sigaction(SIGUSR1, &act, NULL) < 0) in child()
91 kill(pid, SIGUSR1); in test_one_size()
/linux/tools/testing/selftests/clone3/
A Dclone3_clear_sighand.c73 ret = sigaction(SIGUSR1, &act, NULL); in test_clone3_clear_sighand()
94 ret = sigaction(SIGUSR1, NULL, &act); in test_clone3_clear_sighand()
/linux/tools/testing/selftests/powerpc/math/
A Dfpu_signal.c62 rc = sigaction(SIGUSR1, &act, NULL); in signal_fpu_c()
101 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu()
A Dvmx_signal.c79 rc = sigaction(SIGUSR1, &act, NULL); in signal_vmx_c()
125 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx()
/linux/tools/testing/selftests/timens/
A Dclock_nanosleep.c50 signal(SIGUSR1, test_sig); in run_test()
84 pthread_kill(thread, SIGUSR1); in run_test()
/linux/tools/testing/selftests/breakpoints/
A Dbreakpoint_test.c141 kill(getpid(), SIGUSR1); in check_trapped()
216 kill(getpid(), SIGUSR1); in trigger_tests()
261 kill(getpid(), SIGUSR1); in trigger_tests()
/linux/tools/testing/selftests/sigaltstack/
A Dsas.c127 sigaction(SIGUSR1, &act, NULL); in main()
185 raise(SIGUSR1); in main()
/linux/tools/perf/tests/
A Dbp_signal.c185 if (sigaction(SIGUSR1, &sa, NULL) < 0) { in test__bp_signal()
242 fd2 = bp_event(sig_handler, SIGUSR1); in test__bp_signal()

Completed in 45 milliseconds

1234