/Linux-v6.6/arch/x86/kernel/ |
D | signal_64.c | 419 static_assert(sizeof(siginfo_t) == 128); 422 static_assert(__alignof__(siginfo_t) == 8); 429 static_assert(offsetof(siginfo_t, si_signo) == 0); 430 static_assert(offsetof(siginfo_t, si_errno) == 4); 431 static_assert(offsetof(siginfo_t, si_code) == 8); 448 static_assert(offsetof(siginfo_t, _sifields) == \ 449 offsetof(siginfo_t, _sifields.name)) 451 static_assert(sizeof_field(siginfo_t, _sifields.name) == size) 455 static_assert(offsetof(siginfo_t, si_pid) == 0x10); 456 static_assert(offsetof(siginfo_t, si_uid) == 0x14); [all …]
|
/Linux-v6.6/arch/arm/kernel/ |
D | signal.c | 690 static_assert(sizeof(siginfo_t) == 128); 691 static_assert(__alignof__(siginfo_t) == 4); 692 static_assert(offsetof(siginfo_t, si_signo) == 0x00); 693 static_assert(offsetof(siginfo_t, si_errno) == 0x04); 694 static_assert(offsetof(siginfo_t, si_code) == 0x08); 695 static_assert(offsetof(siginfo_t, si_pid) == 0x0c); 696 static_assert(offsetof(siginfo_t, si_uid) == 0x10); 697 static_assert(offsetof(siginfo_t, si_tid) == 0x0c); 698 static_assert(offsetof(siginfo_t, si_overrun) == 0x10); 699 static_assert(offsetof(siginfo_t, si_status) == 0x14); [all …]
|
/Linux-v6.6/arch/sparc/kernel/ |
D | signal_64.c | 247 siginfo_t info; 570 static_assert(sizeof(siginfo_t) == 128); 571 static_assert(__alignof__(siginfo_t) == 8); 572 static_assert(offsetof(siginfo_t, si_signo) == 0x00); 573 static_assert(offsetof(siginfo_t, si_errno) == 0x04); 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); 578 static_assert(offsetof(siginfo_t, si_overrun) == 0x14); [all …]
|
/Linux-v6.6/arch/m68k/kernel/ |
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() 596 BUILD_BUG_ON(offsetof(siginfo_t, si_tid) != 0x0c); in siginfo_build_tests() 597 BUILD_BUG_ON(offsetof(siginfo_t, si_overrun) != 0x10); in siginfo_build_tests() 598 BUILD_BUG_ON(offsetof(siginfo_t, si_value) != 0x14); in siginfo_build_tests() 601 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests() [all …]
|
/Linux-v6.6/arch/arm64/kernel/ |
D | signal.c | 1352 static_assert(sizeof(siginfo_t) == 128); 1353 static_assert(__alignof__(siginfo_t) == 8); 1354 static_assert(offsetof(siginfo_t, si_signo) == 0x00); 1355 static_assert(offsetof(siginfo_t, si_errno) == 0x04); 1356 static_assert(offsetof(siginfo_t, si_code) == 0x08); 1357 static_assert(offsetof(siginfo_t, si_pid) == 0x10); 1358 static_assert(offsetof(siginfo_t, si_uid) == 0x14); 1359 static_assert(offsetof(siginfo_t, si_tid) == 0x10); 1360 static_assert(offsetof(siginfo_t, si_overrun) == 0x14); 1361 static_assert(offsetof(siginfo_t, si_status) == 0x18); [all …]
|
/Linux-v6.6/tools/testing/selftests/x86/ |
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()
|
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()
|
D | corrupt_xstate_header.c | 32 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument 45 static void sigusr1(int sig, siginfo_t *info, void *uc_void) in sigusr1() 56 static void sigsegv(int sig, siginfo_t *info, void *uc_void) in sigsegv()
|
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()
|
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()
|
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()
|
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()
|
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()
|
/Linux-v6.6/tools/testing/selftests/ptrace/ |
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; in main()
|
/Linux-v6.6/tools/testing/selftests/arm64/signal/ |
D | test_signals_utils.c | 91 siginfo_t *si, void *uc) in handle_signal_unsupported() 113 siginfo_t *si, void *uc) in handle_signal_trigger() 123 siginfo_t *si, void *uc) in handle_signal_ok() 169 siginfo_t *si, void *uc_in) in handle_signal_copyctx() 233 static void default_handler(int signum, siginfo_t *si, void *uc) in default_handler()
|
/Linux-v6.6/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 51 siginfo_t info = { in TEST() 100 siginfo_t info = { in TEST() 161 siginfo_t info = { in TEST()
|
/Linux-v6.6/tools/testing/selftests/arm64/signal/testcases/ |
D | sve_regs.c | 58 static int do_one_sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sve_vl() 100 static int sve_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_regs()
|
D | ssve_regs.c | 62 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 111 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
|
D | za_no_regs.c | 52 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 98 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
|
D | za_regs.c | 64 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 117 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
|
D | ssve_za_regs.c | 67 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 140 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs()
|
/Linux-v6.6/tools/testing/selftests/powerpc/tm/ |
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()
|
/Linux-v6.6/tools/testing/selftests/resctrl/ |
D | resctrl.h | 92 void run_benchmark(int signum, siginfo_t *info, void *ucontext); 108 void ctrlc_handler(int signum, siginfo_t *info, void *ptr);
|
/Linux-v6.6/tools/testing/selftests/arm64/mte/ |
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-v6.6/tools/testing/selftests/powerpc/mm/ |
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()
|