Home
last modified time | relevance | path

Searched refs:siginfo_t (Results 1 – 25 of 160) sorted by relevance

1234567

/linux-6.6.21/arch/x86/kernel/
Dsignal_64.c419 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-6.6.21/arch/arm/kernel/
Dsignal.c690 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-6.6.21/arch/sparc/kernel/
Dsignal_64.c247 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-6.6.21/arch/m68k/kernel/
Dsignal.c584 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-6.6.21/arch/arm64/kernel/
Dsignal.c1352 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-6.6.21/tools/testing/selftests/x86/
Dsyscall_arg_fault.c20 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()
Dsysret_rip.c42 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()
Dcorrupt_xstate_header.c32 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()
Dsigaltstack.c30 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()
Dmov_ss_trap.c97 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()
Dsingle_step_syscall.c36 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()
Dsyscall_nt.c21 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()
Dioperm.c25 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-6.6.21/tools/testing/selftests/ptrace/
Dpeeksiginfo.c15 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-6.6.21/tools/testing/selftests/arm64/signal/
Dtest_signals_utils.c91 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-6.6.21/tools/testing/selftests/pidfd/
Dpidfd_wait.c34 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-6.6.21/tools/testing/selftests/arm64/signal/testcases/
Dsve_regs.c58 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()
Dssve_regs.c62 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()
Dza_no_regs.c52 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()
Dza_regs.c64 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()
Dssve_za_regs.c67 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-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-force-tm.c50 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-6.6.21/tools/testing/selftests/resctrl/
Dresctrl.h89 void run_benchmark(int signum, siginfo_t *info, void *ucontext);
105 void ctrlc_handler(int signum, siginfo_t *info, void *ptr);
/linux-6.6.21/tools/testing/selftests/arm64/mte/
Dmte_common_util.h42 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-6.6.21/tools/testing/selftests/powerpc/mm/
Dwild_bctr.c33 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()

1234567