/linux-6.12.1/tools/testing/selftests/timers/ |
D | posix_timers.c | 245 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/ |
D | epoll_wakeup_test.c | 46 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/ |
D | vdso_restorer.c | 67 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()
|
D | sysret_rip.c | 100 raise(SIGUSR1); in test_sigreturn_to() 161 sethandler(SIGUSR1, sigusr1, 0); in main() 165 clearhandler(SIGUSR1); in main()
|
D | ptrace_syscall.c | 158 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()
|
D | corrupt_xstate_header.c | 65 sethandler(SIGUSR1, sigusr1, 0); in main() 83 raise(SIGUSR1); in main()
|
/linux-6.12.1/tools/testing/selftests/powerpc/signal/ |
D | signal.c | 30 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()
|
D | sigreturn_vdso.c | 82 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()
|
D | signal_tm.c | 35 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()
|
D | sigreturn_unaligned.c | 33 FAIL_IF(sigaction(SIGUSR1, &action, NULL) == -1); in test_sigreturn_unaligned() 35 raise(SIGUSR1); in test_sigreturn_unaligned()
|
D | sigreturn_kernel.c | 39 raise(SIGUSR1); in fork_child() 68 FAIL_IF(sigaction(SIGUSR1, &act, NULL)); in test_sigreturn_kernel()
|
D | sig_sc_double_restart.c | 106 if (sigaction(SIGUSR1, &act, NULL) == -1) { in test_restart() 147 kill(pid, SIGUSR1); in test_restart()
|
/linux-6.12.1/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 61 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/ |
D | tm-signal-msr-resv.c | 58 if (sigaction(SIGUSR1, &act, NULL) < 0) { in tm_signal_msr_resv() 65 raise(SIGUSR1); in tm_signal_msr_resv()
|
D | tm-signal-context-force-tm.c | 153 sigaction(SIGUSR1, &usr_sa, NULL); in tm_trap_test() 157 raise(SIGUSR1); in tm_trap_test()
|
D | tm-trap.c | 230 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/ |
D | send_signal_sched_switch.c | 36 signal(SIGUSR1, sigusr1_handler); in serial_test_send_signal_sched_switch() 43 skel->bss->sig = SIGUSR1; in serial_test_send_signal_sched_switch()
|
D | send_signal.c | 46 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/ |
D | futex_requeue_pi_signal_restart.c | 151 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/ |
D | clone3_clear_sighand.c | 69 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/ |
D | stack_expansion_signal.c | 58 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/ |
D | fpu_signal.c | 60 rc = sigaction(SIGUSR1, &act, NULL); in signal_fpu_c() 97 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu()
|
D | vmx_signal.c | 79 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/ |
D | clock_nanosleep.c | 50 signal(SIGUSR1, test_sig); in run_test() 84 pthread_kill(thread, SIGUSR1); in run_test()
|
/linux-6.12.1/tools/testing/selftests/breakpoints/ |
D | breakpoint_test.c | 141 kill(getpid(), SIGUSR1); in check_trapped() 216 kill(getpid(), SIGUSR1); in trigger_tests() 261 kill(getpid(), SIGUSR1); in trigger_tests()
|