Home
last modified time | relevance | path

Searched refs:sethandler (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/tools/testing/selftests/x86/
Dmov_ss_trap.c97 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
154 sethandler(SIGTRAP, sigtrap, 0); in main()
173 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
178 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
188 sethandler(SIGILL, handle_and_longjmp, SA_RESETHAND); in main()
195 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
201 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
212 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
224 sethandler(SIGILL, handle_and_longjmp, SA_RESETHAND); in main()
257 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND | SA_ONSTACK); in main()
[all …]
Dsyscall_arg_fault.c20 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
111 sethandler(SIGSEGV, sigsegv_or_sigbus, SA_ONSTACK); in main()
117 sethandler(SIGBUS, sigsegv_or_sigbus, SA_ONSTACK); in main()
118 sethandler(SIGILL, sigill, SA_ONSTACK); in main()
171 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main()
Dsysret_rip.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
99 sethandler(SIGSEGV, sigsegv_for_sigreturn_test, SA_RESETHAND); in sigusr1()
169 sethandler(SIGUSR1, sigusr1, 0); in main()
175 sethandler(SIGSEGV, sigsegv_for_fallthrough, 0); in main()
Dcorrupt_xstate_header.c32 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
65 sethandler(SIGUSR1, sigusr1, 0); in main()
66 sethandler(SIGSEGV, sigsegv, 0); in main()
Diopl.c25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
57 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_outb()
96 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_cli()
116 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_sti()
Dsingle_step_syscall.c36 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
151 sethandler(SIGTRAP, sigtrap, 0); in main()
217 sethandler(SIGSEGV, print_and_longjmp, in main()
219 sethandler(SIGILL, print_and_longjmp, SA_RESETHAND); in main()
Dentry_from_vm86.c30 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
239 sethandler(SIGILL, sighandler, 0); in do_umip_tests()
244 sethandler(SIGILL, sighandler, 0); in do_umip_tests()
284 sethandler(SIGILL, sighandler, 0); in main()
295 sethandler(SIGILL, sighandler, 0); in main()
334 sethandler(SIGSEGV, sighandler, 0); in main()
Dsigaltstack.c30 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
96 sethandler(SIGSEGV, sigsegv, 0); in test_sigaltstack()
97 sethandler(SIGALRM, sigalrm, SA_ONSTACK); in test_sigaltstack()
Dsigreturn.c141 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
542 sethandler(SIGUSR2, sigusr2, 0); in test_nonstrict_ss()
778 sethandler(SIGUSR1, sigusr1, 0); in main()
779 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main()
830 sethandler(SIGSEGV, sigtrap, SA_ONSTACK); in main()
831 sethandler(SIGBUS, sigtrap, SA_ONSTACK); in main()
832 sethandler(SIGILL, sigtrap, SA_ONSTACK); /* 32-bit kernels do this */ in main()
Dsyscall_nt.c21 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
70 sethandler(SIGTRAP, sigtrap, 0); in main()
Dioperm.c25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
57 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_outb()
Dunwind_vdso.c46 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
152 sethandler(SIGTRAP, sigtrap, 0); in main()
Dtest_vsyscall.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
533 sethandler(SIGTRAP, sigtrap, 0); in test_emulation()
569 sethandler(SIGSEGV, sigsegv, 0); in main()
Dfsgsbase.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
606 sethandler(SIGILL, sigill, 0); in main()
616 sethandler(SIGSEGV, sigsegv, 0); in main()
Dldt_gdt.c509 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
551 sethandler(SIGSEGV, sigsegv, 0); in do_multicpu_tests()
554 sethandler(SIGILL, sigsegv, 0); in do_multicpu_tests()
Dptrace_syscall.c96 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
158 sethandler(SIGUSR1, empty_handler, 0); in test_sys32_regs()
Damx.c74 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
936 sethandler(SIGILL, handle_noperm, 0); in main()