Home
last modified time | relevance | path

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

123456

/linux/arch/x86/kernel/
A Dsignal_compat.c37 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 Dsignal.c689 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 Dsignal_64.c247 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 Dsignal.c991 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 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()
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 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[SIGNR]; in main()
/linux/tools/testing/selftests/x86/
A 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()
A 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()
A Dcorrupt_xstate_header.c44 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 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()
A 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()
A 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()
A 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()
A 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()
A Dunwind_vdso.c46 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 Dptrace_syscall.c84 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 Diopl.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/tools/testing/selftests/arm64/signal/
A Dtest_signals_utils.c86 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 Dpidfd_wait.c34 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 Dsve_regs.c55 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 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()
A Dtm-trap.c61 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 Dresctrl.h89 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 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/tools/testing/selftests/powerpc/mm/
A 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()

Completed in 33 milliseconds

123456