Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/testing/selftests/timers/
Dposix_timers.c245 sigaddset(&set, SIGUSR1); in ignore_thread()
277 if (sigaction(SIGUSR1, &sa, NULL)) in check_sig_ign()
282 sigaddset(&set, SIGUSR1); in check_sig_ign()
288 sev.sigev_signo = SIGUSR1; in check_sig_ign()
308 if (signal(SIGUSR1, SIG_IGN) == SIG_ERR) in check_sig_ign()
322 if (sigaction(SIGUSR1, &sa, NULL)) in check_sig_ign()
355 if (sigaction(SIGUSR1, &sa, NULL)) in check_rearm()
360 sigaddset(&set, SIGUSR1); in check_rearm()
366 sev.sigev_signo = SIGUSR1; in check_rearm()
411 if (sigaction(SIGUSR1, &sa, NULL)) in check_delete()
[all …]
/linux-6.12.1/tools/testing/selftests/filesystems/epoll/
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-6.12.1/tools/testing/selftests/x86/
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()
Dsysret_rip.c100 raise(SIGUSR1); in test_sigreturn_to()
161 sethandler(SIGUSR1, sigusr1, 0); in main()
165 clearhandler(SIGUSR1); in main()
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()
Dcorrupt_xstate_header.c65 sethandler(SIGUSR1, sigusr1, 0); in main()
83 raise(SIGUSR1); in main()
/linux-6.12.1/tools/testing/selftests/powerpc/signal/
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()
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()
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()
Dsigreturn_unaligned.c33 FAIL_IF(sigaction(SIGUSR1, &action, NULL) == -1); in test_sigreturn_unaligned()
35 raise(SIGUSR1); in test_sigreturn_unaligned()
Dsigreturn_kernel.c39 raise(SIGUSR1); in fork_child()
68 FAIL_IF(sigaction(SIGUSR1, &act, NULL)); in test_sigreturn_kernel()
Dsig_sc_double_restart.c106 if (sigaction(SIGUSR1, &act, NULL) == -1) { in test_restart()
147 kill(pid, SIGUSR1); in test_restart()
/linux-6.12.1/tools/testing/selftests/rlimits/
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-6.12.1/tools/testing/selftests/powerpc/tm/
Dtm-signal-msr-resv.c58 if (sigaction(SIGUSR1, &act, NULL) < 0) { in tm_signal_msr_resv()
65 raise(SIGUSR1); in tm_signal_msr_resv()
Dtm-signal-context-force-tm.c153 sigaction(SIGUSR1, &usr_sa, NULL); in tm_trap_test()
157 raise(SIGUSR1); in tm_trap_test()
Dtm-trap.c230 pthread_kill(t1_pong, SIGUSR1); in ping()
268 sigaction(SIGUSR1, &usr1_sa, NULL); in tm_trap_test()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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()
Dsend_signal.c46 ASSERT_NEQ(signal(SIGUSR1, sigusr1_handler), SIG_ERR, "signal"); in test_send_signal_common()
121 skel->bss->sig = SIGUSR1; in test_send_signal_common()
/linux-6.12.1/tools/testing/selftests/futex/functional/
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-6.12.1/tools/testing/selftests/clone3/
Dclone3_clear_sighand.c69 ret = sigaction(SIGUSR1, &act, NULL); in test_clone3_clear_sighand()
90 ret = sigaction(SIGUSR1, NULL, &act); in test_clone3_clear_sighand()
/linux-6.12.1/tools/testing/selftests/powerpc/mm/
Dstack_expansion_signal.c58 if (sigaction(SIGUSR1, &act, NULL) < 0) in child()
91 kill(pid, SIGUSR1); in test_one_size()
/linux-6.12.1/tools/testing/selftests/powerpc/math/
Dfpu_signal.c60 rc = sigaction(SIGUSR1, &act, NULL); in signal_fpu_c()
97 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu()
Dvmx_signal.c79 rc = sigaction(SIGUSR1, &act, NULL); in signal_vmx_c()
125 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx()
/linux-6.12.1/tools/testing/selftests/timens/
Dclock_nanosleep.c50 signal(SIGUSR1, test_sig); in run_test()
84 pthread_kill(thread, SIGUSR1); in run_test()
/linux-6.12.1/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c141 kill(getpid(), SIGUSR1); in check_trapped()
216 kill(getpid(), SIGUSR1); in trigger_tests()
261 kill(getpid(), SIGUSR1); in trigger_tests()

1234