Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/x86/
H 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 …]
H A Dsyscall_arg_fault.c20 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
110 sethandler(SIGSEGV, sigsegv_or_sigbus, SA_ONSTACK); in main()
116 sethandler(SIGBUS, sigsegv_or_sigbus, SA_ONSTACK); in main()
117 sethandler(SIGILL, sigill, SA_ONSTACK); in main()
170 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main()
H A Dsysret_rip.c34 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
91 sethandler(SIGSEGV, sigsegv_for_sigreturn_test, SA_RESETHAND); in sigusr1()
161 sethandler(SIGUSR1, sigusr1, 0); in main()
167 sethandler(SIGSEGV, sigsegv_for_fallthrough, 0); in main()
H A 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H A Dtest_vsyscall.c313 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
499 sethandler(SIGTRAP, sigtrap, 0); in test_emulation()
537 sethandler(SIGSEGV, sigsegv, 0); in main()
H A Dfsgsbase.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
600 sethandler(SIGILL, sigill, 0); in main()
610 sethandler(SIGSEGV, sigsegv, 0); in main()
H 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()
H 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()
H A Damx.c64 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
913 sethandler(SIGILL, handle_noperm, 0); in main()