/linux-6.12.1/tools/testing/selftests/mm/ |
D | pkey_sighandler_tests.c | 38 siginfo_t siginfo = {0}; variable 72 memcpy(&siginfo, info, sizeof(siginfo_t)); in sigsegv_handler() 84 memcpy(&siginfo, info, sizeof(siginfo_t)); in sigusr1_handler() 173 memset(&siginfo, 0, sizeof(siginfo)); in test_sigsegv_handler_with_pkey0_disabled() 181 while (siginfo.si_signo == 0) in test_sigsegv_handler_with_pkey0_disabled() 185 ksft_test_result(siginfo.si_signo == SIGSEGV && in test_sigsegv_handler_with_pkey0_disabled() 186 siginfo.si_code == SEGV_MAPERR && in test_sigsegv_handler_with_pkey0_disabled() 187 siginfo.si_addr == (void *)1, in test_sigsegv_handler_with_pkey0_disabled() 213 memset(&siginfo, 0, sizeof(siginfo)); in test_sigsegv_handler_cannot_access_stack() 221 while (siginfo.si_signo == 0) in test_sigsegv_handler_cannot_access_stack() [all …]
|
/linux-6.12.1/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 109 siginfo_t siginfo[SIGNR]; in check_direct_path() local 122 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path() 132 if (siginfo[j].si_code == si_code && in check_direct_path() 133 siginfo[j].si_int == i) in check_direct_path() 137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path() 154 siginfo_t siginfo; in main() local 179 siginfo.si_code = TEST_SICODE_SHARE; in main() 180 siginfo.si_int = i; in main() 181 sys_rt_sigqueueinfo(child, SIGRTMIN, &siginfo); in main() 183 siginfo.si_code = TEST_SICODE_PRIV; in main() [all …]
|
/linux-6.12.1/arch/um/include/shared/ |
D | kern_util.h | 12 struct siginfo; 27 extern void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs); 37 extern void timer_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs); 62 extern void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs); 63 extern void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs); 64 extern void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
|
D | irq_user.h | 17 struct siginfo; 18 extern void sigio_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs);
|
D | as-layout.h | 54 struct siginfo; 55 extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *);
|
/linux-6.12.1/arch/um/os-Linux/ |
D | signal.c | 24 void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = { 34 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common() 74 static void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() 123 static void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in timer_alarm_handler() 165 static void sigusr1_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in sigusr1_handler() 175 static void (*handlers[_NSIG])(int sig, struct siginfo *si, mcontext_t *mc) = { 218 (*handlers[sig])(sig, (struct siginfo *)si, mc); in hard_handler()
|
/linux-6.12.1/Documentation/arch/sparc/ |
D | adi.rst | 110 siginfo.si_signo = SIGSEGV; 111 siginfo.errno = 0; 112 siginfo.si_code = SEGV_ADIDERR; 113 siginfo.si_addr = addr; /* PC where first mismatch occurred */ 114 siginfo.si_trapno = 0; 129 siginfo.si_signo = SIGSEGV; 130 siginfo.errno = 0; 131 siginfo.si_code = SEGV_ADIPERR; 132 siginfo.si_addr = addr; /* address that caused trap */ 133 siginfo.si_trapno = 0; [all …]
|
/linux-6.12.1/include/linux/ |
D | coredump.h | 20 const kernel_siginfo_t *siginfo; member 45 extern void do_coredump(const kernel_siginfo_t *siginfo); 65 static inline void do_coredump(const kernel_siginfo_t *siginfo) {} in do_coredump() argument
|
/linux-6.12.1/tools/testing/selftests/net/af_unix/ |
D | msg_oob.c | 90 struct signalfd_siginfo siginfo; in setup_sigurg() local 112 ret = read(self->signal_fd, &siginfo, sizeof(siginfo)); in setup_sigurg() 189 struct signalfd_siginfo siginfo = {}; in __sendpair() local 194 bytes = read(self->signal_fd, &siginfo, sizeof(siginfo)); in __sendpair() 197 ASSERT_EQ(bytes, sizeof(siginfo)); in __sendpair() 198 ASSERT_EQ(siginfo.ssi_signo, SIGURG); in __sendpair() 200 bytes = read(self->signal_fd, &siginfo, sizeof(siginfo)); in __sendpair()
|
/linux-6.12.1/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 115 siginfo_t siginfo; in run_test() local 173 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo) != 0) { in run_test() 179 if (siginfo.si_code != TRAP_HWBKPT) { in run_test() 181 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
|
/linux-6.12.1/Documentation/translations/zh_CN/userspace-api/ |
D | seccomp_filter.rst | 92 ``siginfo->si_call_addr`` 会展示系统调用指令的位置, ``siginfo->si_syscall`` 93 和 ``siginfo->si_arch`` 会指出试图进行的系统调用。程序计数器会和发生了系统 288 ``siginfo->si_call_addr`` 。)不要检测其他条件:未来内核可能会改进vsyscall模拟,
|
/linux-6.12.1/arch/x86/include/asm/ |
D | sigframe.h | 49 struct siginfo info; 62 struct siginfo info;
|
/linux-6.12.1/arch/m68k/include/uapi/asm/ |
D | signal.h | 8 struct siginfo; 71 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/linux-6.12.1/arch/s390/include/uapi/asm/ |
D | signal.h | 15 struct siginfo; 96 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/linux-6.12.1/arch/arm/include/uapi/asm/ |
D | signal.h | 8 struct siginfo; 81 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/linux-6.12.1/arch/xtensa/include/uapi/asm/ |
D | signal.h | 27 struct siginfo; 91 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/linux-6.12.1/arch/x86/include/uapi/asm/ |
D | signal.h | 10 struct siginfo; 81 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/linux-6.12.1/arch/um/kernel/ |
D | trap.c | 183 void segv_handler(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs) in segv_handler() 285 void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs) in relay_signal() 313 void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs) in bus_handler() 321 void winch(int sig, struct siginfo *unused_si, struct uml_pt_regs *regs) in winch()
|
/linux-6.12.1/arch/alpha/include/uapi/asm/ |
D | signal.h | 8 struct siginfo; 89 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/linux-6.12.1/arch/powerpc/perf/ |
D | callchain_64.c | 34 struct siginfo *pinfo; 36 struct siginfo info;
|
/linux-6.12.1/kernel/ |
D | ptrace.c | 1016 kernel_siginfo_t siginfo, *si; in ptrace_request() local 1044 ret = ptrace_getsiginfo(child, &siginfo); in ptrace_request() 1046 ret = copy_siginfo_to_user(datavp, &siginfo); in ptrace_request() 1050 ret = copy_siginfo_from_user(&siginfo, datavp); in ptrace_request() 1052 ret = ptrace_setsiginfo(child, &siginfo); in ptrace_request() 1324 kernel_siginfo_t siginfo; in compat_ptrace_request() local 1350 ret = ptrace_getsiginfo(child, &siginfo); in compat_ptrace_request() 1354 &siginfo); in compat_ptrace_request() 1359 &siginfo, (struct compat_siginfo __user *) datap); in compat_ptrace_request() 1361 ret = ptrace_setsiginfo(child, &siginfo); in compat_ptrace_request()
|
/linux-6.12.1/arch/um/os-Linux/skas/ |
D | process.c | 430 ptrace(PTRACE_GETSIGINFO, pid, 0, (struct siginfo *)&si); in userspace() 439 (*sig_info[SIGSEGV])(SIGSEGV, (struct siginfo *)&si, in userspace() 448 relay_signal(SIGTRAP, (struct siginfo *)&si, regs); in userspace() 458 (*sig_info[sig])(sig, (struct siginfo *)&si, regs); in userspace()
|
/linux-6.12.1/arch/arm/kernel/ |
D | signal.h | 9 struct siginfo info;
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | rt_sigframe.h | 7 struct siginfo info;
|
/linux-6.12.1/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 587 siginfo_t siginfo; in test_cgfreezer_ptrace() local 622 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo)) in test_cgfreezer_ptrace() 713 siginfo_t siginfo; in test_cgfreezer_ptraced() local 748 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo)) in test_cgfreezer_ptraced()
|