/tools/testing/selftests/x86/ |
D | mov_ss_trap.c | 98 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 …]
|
D | syscall_arg_fault.c | 42 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()
|
D | sysret_rip.c | 42 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()
|
D | syscall_nt.c | 39 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 82 sethandler(SIGTRAP, sigtrap, 0); in main()
|
D | entry_from_vm86.c | 30 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()
|
D | iopl.c | 25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 93 sethandler(SIGSEGV, sigsegv, 0); in main()
|
D | single_step_syscall.c | 34 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 118 sethandler(SIGTRAP, sigtrap, 0); in main()
|
D | ioperm.c | 25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 57 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_outb()
|
D | sigreturn.c | 144 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()
|
D | unwind_vdso.c | 44 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 171 sethandler(SIGTRAP, sigtrap, 0); in main()
|
D | test_vsyscall.c | 40 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()
|
D | fsgsbase.c | 42 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()
|
D | ptrace_syscall.c | 96 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 158 sethandler(SIGUSR1, empty_handler, 0); in test_sys32_regs()
|
D | ldt_gdt.c | 509 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()
|