/linux/arch/x86/kernel/ |
A D | signal_compat.c | 37 BUILD_BUG_ON(sizeof(siginfo_t) != 128); in signal_compat_build_tests() 41 BUILD_BUG_ON(__alignof__(siginfo_t) != 8); in signal_compat_build_tests() 52 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); in signal_compat_build_tests() 53 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); in signal_compat_build_tests() 54 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); in signal_compat_build_tests() 79 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x10); in signal_compat_build_tests() 80 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x14); in signal_compat_build_tests() 99 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x10); in signal_compat_build_tests() 100 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x14); in signal_compat_build_tests() 133 BUILD_BUG_ON(offsetof(siginfo_t, si_addr) != 0x10); in signal_compat_build_tests() [all …]
|
/linux/arch/arm/kernel/ |
A D | signal.c | 689 static_assert(sizeof(siginfo_t) == 128); 690 static_assert(__alignof__(siginfo_t) == 4); 693 static_assert(offsetof(siginfo_t, si_code) == 0x08); 694 static_assert(offsetof(siginfo_t, si_pid) == 0x0c); 695 static_assert(offsetof(siginfo_t, si_uid) == 0x10); 696 static_assert(offsetof(siginfo_t, si_tid) == 0x0c); 702 static_assert(offsetof(siginfo_t, si_int) == 0x14); 703 static_assert(offsetof(siginfo_t, si_ptr) == 0x14); 704 static_assert(offsetof(siginfo_t, si_addr) == 0x0c); 708 static_assert(offsetof(siginfo_t, si_pkey) == 0x14); [all …]
|
/linux/arch/sparc/kernel/ |
A D | signal_64.c | 247 siginfo_t info; 570 static_assert(sizeof(siginfo_t) == 128); 571 static_assert(__alignof__(siginfo_t) == 8); 574 static_assert(offsetof(siginfo_t, si_code) == 0x08); 575 static_assert(offsetof(siginfo_t, si_pid) == 0x10); 576 static_assert(offsetof(siginfo_t, si_uid) == 0x14); 577 static_assert(offsetof(siginfo_t, si_tid) == 0x10); 583 static_assert(offsetof(siginfo_t, si_int) == 0x18); 584 static_assert(offsetof(siginfo_t, si_ptr) == 0x18); 585 static_assert(offsetof(siginfo_t, si_addr) == 0x10); [all …]
|
/linux/arch/arm64/kernel/ |
A D | signal.c | 991 static_assert(sizeof(siginfo_t) == 128); 992 static_assert(__alignof__(siginfo_t) == 8); 995 static_assert(offsetof(siginfo_t, si_code) == 0x08); 996 static_assert(offsetof(siginfo_t, si_pid) == 0x10); 997 static_assert(offsetof(siginfo_t, si_uid) == 0x14); 998 static_assert(offsetof(siginfo_t, si_tid) == 0x10); 1004 static_assert(offsetof(siginfo_t, si_int) == 0x18); 1005 static_assert(offsetof(siginfo_t, si_ptr) == 0x18); 1006 static_assert(offsetof(siginfo_t, si_addr) == 0x10); 1010 static_assert(offsetof(siginfo_t, si_pkey) == 0x20); [all …]
|
/linux/arch/m68k/kernel/ |
A D | signal.c | 584 BUILD_BUG_ON(sizeof(siginfo_t) != 128); in siginfo_build_tests() 587 BUILD_BUG_ON(offsetof(siginfo_t, si_signo) != 0); in siginfo_build_tests() 588 BUILD_BUG_ON(offsetof(siginfo_t, si_errno) != 4); in siginfo_build_tests() 589 BUILD_BUG_ON(offsetof(siginfo_t, si_code) != 8); in siginfo_build_tests() 592 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests() 593 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x10); in siginfo_build_tests() 601 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests() 602 BUILD_BUG_ON(offsetof(siginfo_t, si_uid) != 0x10); in siginfo_build_tests() 603 BUILD_BUG_ON(offsetof(siginfo_t, si_value) != 0x14); in siginfo_build_tests() 613 BUILD_BUG_ON(offsetof(siginfo_t, si_addr) != 0x0c); in siginfo_build_tests() [all …]
|
/linux/tools/testing/selftests/ptrace/ |
A D | peeksiginfo.c | 15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() 21 int sig, siginfo_t *uinfo) in sys_rt_tgsigqueueinfo() 84 addr_ro - sizeof(siginfo_t) * 2); in check_error_paths() 109 siginfo_t siginfo[SIGNR]; in check_direct_path() 154 siginfo_t siginfo[SIGNR]; in main()
|
/linux/tools/testing/selftests/x86/ |
A D | syscall_arg_fault.c | 20 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 45 static void sigsegv_or_sigbus(int sig, siginfo_t *info, void *ctx_void) in sigsegv_or_sigbus() 64 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() 87 static void sigill(int sig, siginfo_t *info, void *ctx_void) in sigill()
|
A D | sysret_rip.c | 42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 69 static void sigsegv_for_sigreturn_test(int sig, siginfo_t *info, void *ctx_void) in sigsegv_for_sigreturn_test() 85 static void sigusr1(int sig, siginfo_t *info, void *ctx_void) in sigusr1() 113 static void sigsegv_for_fallthrough(int sig, siginfo_t *info, void *ctx_void) in sigsegv_for_fallthrough()
|
A D | corrupt_xstate_header.c | 44 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 57 static void sigusr1(int sig, siginfo_t *info, void *uc_void) in sigusr1() 68 static void sigsegv(int sig, siginfo_t *info, void *uc_void) in sigsegv()
|
A D | mov_ss_trap.c | 97 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 116 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap() 125 static void handle_and_return(int sig, siginfo_t *si, void *ctx_void) in handle_and_return() 133 static void handle_and_longjmp(int sig, siginfo_t *si, void *ctx_void) in handle_and_longjmp()
|
A D | sigaltstack.c | 30 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 67 static void sigsegv(int sig, siginfo_t *info, void *ctx_void) in sigsegv() 79 static void sigalrm(int sig, siginfo_t *info, void *ctx_void) in sigalrm()
|
A D | single_step_syscall.c | 36 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 71 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap() 98 static void print_and_longjmp(int sig, siginfo_t *si, void *ctx_void) in print_and_longjmp()
|
A D | syscall_nt.c | 21 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 33 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap()
|
A D | ioperm.c | 25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 50 static void sigsegv(int sig, siginfo_t *si, void *ctx_void) in sigsegv()
|
A D | unwind_vdso.c | 46 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 107 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap()
|
A D | ptrace_syscall.c | 84 static siginfo_t wait_trap(pid_t chld) in wait_trap() 86 siginfo_t si; in wait_trap() 96 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 135 static void empty_handler(int sig, siginfo_t *si, void *ctx_void) in empty_handler()
|
A D | iopl.c | 25 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 50 static void sigsegv(int sig, siginfo_t *si, void *ctx_void) in sigsegv()
|
/linux/tools/testing/selftests/arm64/signal/ |
A D | test_signals_utils.c | 86 siginfo_t *si, void *uc) in handle_signal_unsupported() 108 siginfo_t *si, void *uc) in handle_signal_trigger() 118 siginfo_t *si, void *uc) in handle_signal_ok() 164 siginfo_t *si, void *uc) in handle_signal_copyctx() 177 static void default_handler(int signum, siginfo_t *si, void *uc) in default_handler()
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_wait.c | 34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 52 siginfo_t info = { in TEST() 101 siginfo_t info = { in TEST() 153 siginfo_t info = { in TEST()
|
/linux/tools/testing/selftests/arm64/signal/testcases/ |
A D | sve_regs.c | 55 static int do_one_sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sve_vl() 97 static int sve_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_regs()
|
/linux/tools/testing/selftests/powerpc/tm/ |
A D | tm-signal-context-force-tm.c | 50 void usr_signal_handler(int signo, siginfo_t *si, void *uc) in usr_signal_handler() 100 void seg_signal_handler(int signo, siginfo_t *si, void *uc) in seg_signal_handler()
|
A D | tm-trap.c | 61 void trap_signal_handler(int signo, siginfo_t *si, void *uc) in trap_signal_handler() 179 void usr1_signal_handler(int signo, siginfo_t *si, void *not_used) in usr1_signal_handler()
|
/linux/tools/testing/selftests/resctrl/ |
A D | resctrl.h | 89 void run_benchmark(int signum, siginfo_t *info, void *ucontext); 106 void ctrlc_handler(int signum, siginfo_t *info, void *ptr);
|
/linux/tools/testing/selftests/arm64/mte/ |
A D | mte_common_util.h | 42 void mte_default_handler(int signum, siginfo_t *si, void *uc); 43 void mte_register_signal(int signal, void (*handler)(int, siginfo_t *, void *));
|
/linux/tools/testing/selftests/powerpc/mm/ |
A D | wild_bctr.c | 33 static void segv_handler(int signum, siginfo_t *info, void *ctxt_v) in segv_handler() 39 static void usr2_handler(int signum, siginfo_t *info, void *ctxt_v) in usr2_handler()
|