Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/x86/
A 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 …]
A 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()
A 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()
A 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()
A 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()
A 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()
A Dcorrupt_xstate_header.c44 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
77 sethandler(SIGUSR1, sigusr1, 0); in main()
78 sethandler(SIGSEGV, sigsegv, 0); in main()
A 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()
A 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()
A Dsyscall_nt.c21 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
70 sethandler(SIGTRAP, sigtrap, 0); in main()
A 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()
A Dunwind_vdso.c46 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
152 sethandler(SIGTRAP, sigtrap, 0); in main()
A Dtest_vsyscall.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
536 sethandler(SIGTRAP, sigtrap, 0); in test_emulation()
572 sethandler(SIGSEGV, sigsegv, 0); in main()
A 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()
A 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()
A 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()
A Damx.c77 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
834 sethandler(SIGILL, handle_noperm, 0); in main()

Completed in 18 milliseconds