Home
last modified time | relevance | path

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

/tools/testing/selftests/x86/
Dmov_ss_trap.c98 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
155 sethandler(SIGTRAP, sigtrap, 0); in main()
174 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
179 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
189 sethandler(SIGILL, handle_and_longjmp, SA_RESETHAND); in main()
196 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
202 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
213 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
225 sethandler(SIGILL, handle_and_longjmp, SA_RESETHAND); in main()
258 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND | SA_ONSTACK); in main()
[all …]
Dsyscall_arg_fault.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
131 sethandler(SIGSEGV, sigsegv_or_sigbus, SA_ONSTACK); in main()
137 sethandler(SIGBUS, sigsegv_or_sigbus, SA_ONSTACK); in main()
138 sethandler(SIGILL, sigill, SA_ONSTACK); in main()
191 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()
Dsyscall_nt.c39 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
82 sethandler(SIGTRAP, sigtrap, 0); 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()
Diopl.c25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
93 sethandler(SIGSEGV, sigsegv, 0); in main()
Dsingle_step_syscall.c34 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
118 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()
Dsigreturn.c144 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
545 sethandler(SIGUSR2, sigusr2, 0); in test_nonstrict_ss()
780 sethandler(SIGUSR1, sigusr1, 0); in main()
781 sethandler(SIGTRAP, sigtrap, SA_ONSTACK); in main()
832 sethandler(SIGSEGV, sigtrap, SA_ONSTACK); in main()
833 sethandler(SIGBUS, sigtrap, SA_ONSTACK); in main()
834 sethandler(SIGILL, sigtrap, SA_ONSTACK); /* 32-bit kernels do this */ in main()
Dunwind_vdso.c44 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
171 sethandler(SIGTRAP, sigtrap, 0); in main()
Dtest_vsyscall.c40 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
529 sethandler(SIGTRAP, sigtrap, 0); in test_emulation()
565 sethandler(SIGSEGV, sigsegv, 0); in main()
Dfsgsbase.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function
580 sethandler(SIGILL, sigill, 0); in main()
590 sethandler(SIGSEGV, sigsegv, 0); in main()
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()
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()