/linux-6.1.9/tools/testing/selftests/x86/ |
D | mov_ss_trap.c | 97 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 …]
|
D | syscall_arg_fault.c | 20 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()
|
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 | corrupt_xstate_header.c | 32 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()
|
D | iopl.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() 96 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_cli() 116 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_sti()
|
D | single_step_syscall.c | 36 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()
|
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 | sigaltstack.c | 30 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()
|
D | sigreturn.c | 141 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()
|
D | syscall_nt.c | 21 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 70 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 | unwind_vdso.c | 46 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 152 sethandler(SIGTRAP, sigtrap, 0); in main()
|
D | test_vsyscall.c | 42 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()
|
D | fsgsbase.c | 42 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()
|
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()
|
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 | amx.c | 72 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() function 836 sethandler(SIGILL, handle_noperm, 0); in main()
|