/linux/tools/testing/selftests/timers/ |
H A 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, in check_delete() [all...] |
/linux/tools/testing/selftests/filesystems/epoll/ |
H A 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/tools/testing/selftests/x86/ |
H A 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()
|
H A 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()
|
H A D | sysret_rip.c | 100 raise(SIGUSR1); in test_sigreturn_to() 161 sethandler(SIGUSR1, sigusr1, 0); in main() 165 clearhandler(SIGUSR1); in main()
|
H A D | corrupt_xstate_header.c | 65 sethandler(SIGUSR1, sigusr1, 0); in main() 83 raise(SIGUSR1); in main()
|
/linux/tools/testing/selftests/powerpc/signal/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | sigreturn_unaligned.c | 33 FAIL_IF(sigaction(SIGUSR1, &action, NULL) == -1); in test_sigreturn_unaligned() 35 raise(SIGUSR1); in test_sigreturn_unaligned()
|
H A D | sigreturn_kernel.c | 39 raise(SIGUSR1); in fork_child() 68 FAIL_IF(sigaction(SIGUSR1, &act, NULL)); in test_sigreturn_kernel()
|
H A D | sig_sc_double_restart.c | 106 if (sigaction(SIGUSR1, &act, NULL) == -1) { in test_restart() 147 kill(pid, SIGUSR1); in test_restart()
|
/linux/tools/testing/selftests/rlimits/ |
H A 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/tools/testing/selftests/powerpc/tm/ |
H A 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()
|
H A D | tm-signal-context-force-tm.c | 153 sigaction(SIGUSR1, &usr_sa, NULL); in tm_trap_test() 157 raise(SIGUSR1); in tm_trap_test()
|
H A D | tm-trap.c | 230 pthread_kill(t1_pong, SIGUSR1); in ping() 268 sigaction(SIGUSR1, &usr1_sa, NULL); in tm_trap_test()
|
/linux/tools/testing/selftests/futex/functional/ |
H A 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/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
H A 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/tools/testing/selftests/clone3/ |
H A 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/tools/testing/selftests/powerpc/mm/ |
H A D | stack_expansion_signal.c | 58 if (sigaction(SIGUSR1, &act, NULL) < 0) in child() 91 kill(pid, SIGUSR1); in test_one_size()
|
/linux/tools/testing/selftests/powerpc/math/ |
H A D | fpu_signal.c | 60 rc = sigaction(SIGUSR1, &act, NULL); in signal_fpu_c() 97 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu()
|
H A 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/tools/testing/selftests/timens/ |
H A D | clock_nanosleep.c | 50 signal(SIGUSR1, test_sig); in run_test() 84 pthread_kill(thread, SIGUSR1); in run_test()
|
/linux/tools/testing/selftests/breakpoints/ |
H A 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()
|