/linux/tools/testing/selftests/filesystems/epoll/ |
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/ |
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()
|
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()
|
A D | sysret_rip.c | 108 raise(SIGUSR1); in test_sigreturn_to() 169 sethandler(SIGUSR1, sigusr1, 0); in main() 173 clearhandler(SIGUSR1); in main()
|
A D | corrupt_xstate_header.c | 77 sethandler(SIGUSR1, sigusr1, 0); in main() 95 raise(SIGUSR1); in main()
|
A D | sigreturn.c | 538 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 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()
|
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()
|
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()
|
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/ |
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/futex/functional/ |
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/powerpc/tm/ |
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()
|
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()
|
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/bpf/prog_tests/ |
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()
|
A D | send_signal.c | 45 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 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/clone3/ |
A D | clone3_clear_sighand.c | 73 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 D | fpu_signal.c | 62 rc = sigaction(SIGUSR1, &act, NULL); in signal_fpu_c() 101 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu()
|
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/ |
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/ |
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()
|
/linux/tools/testing/selftests/sigaltstack/ |
A D | sas.c | 127 sigaction(SIGUSR1, &act, NULL); in main() 185 raise(SIGUSR1); in main()
|
/linux/tools/perf/tests/ |
A D | bp_signal.c | 185 if (sigaction(SIGUSR1, &sa, NULL) < 0) { in test__bp_signal() 242 fd2 = bp_event(sig_handler, SIGUSR1); in test__bp_signal()
|