Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/pidfd/
Dpidfd_wait.c85 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
123 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
132 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
137 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
144 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
221 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
228 ASSERT_EQ(info.si_pid, parent_tid); in TEST()
/linux-6.6.21/kernel/
Dsignal.c614 info->si_pid = 0; in collect_signal()
1139 q->info.si_pid = task_tgid_nr_ns(current, in __send_signal_locked()
1152 q->info.si_pid = 0; in __send_signal_locked()
1254 info->si_pid = 0; in send_signal_locked()
1568 *((sigval_t *)&info.si_pid) = addr; in kill_pid_usb_asyncio()
1675 info.si_pid = 0; in force_sig()
1689 info.si_pid = 0; in force_fatal_sig()
1702 info.si_pid = 0; in force_exit_sig()
2101 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(tsk->parent)); in do_notify_parent()
2192 info.si_pid = task_pid_nr_ns(tsk, task_active_pid_ns(parent)); in do_notify_parent_cldstop()
[all …]
Dexit.c1732 unsafe_put_user(info.pid, &infop->si_pid, Efault); in SYSCALL_DEFINE5()
1875 unsafe_put_user(info.pid, &infop->si_pid, Efault); in COMPAT_SYSCALL_DEFINE5()
/linux-6.6.21/fs/
Dsignalfd.c92 new.ssi_pid = kinfo->si_pid; in signalfd_copyinfo()
127 new.ssi_pid = kinfo->si_pid; in signalfd_copyinfo()
137 new.ssi_pid = kinfo->si_pid; in signalfd_copyinfo()
/linux-6.6.21/arch/x86/kernel/
Dsignal_32.c451 static_assert(offsetof(siginfo32_t, si_pid) == 0xC);
467 static_assert(offsetof(siginfo32_t, si_pid) == 0x0C);
473 static_assert(offsetof(siginfo32_t, si_pid) == 0x0C);
Dsignal_64.c455 static_assert(offsetof(siginfo_t, si_pid) == 0x10);
466 static_assert(offsetof(siginfo_t, si_pid) == 0x10);
472 static_assert(offsetof(siginfo_t, si_pid) == 0x10);
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dptrace-syscall.c47 if (si.si_pid != chld) in wait_trap()
/linux-6.6.21/tools/testing/selftests/arm64/fp/
Dfp-stress.c276 if (children[i].pid == info->si_pid) { in handle_child_signal()
286 info->si_pid, info->si_status); in handle_child_signal()
Dza-ptrace.c297 si.si_pid == pid) in do_parent()
Dzt-ptrace.c302 si.si_pid == pid) in do_parent()
Dsve-ptrace.c666 si.si_pid == pid) in do_parent()
/linux-6.6.21/include/uapi/asm-generic/
Dsiginfo.h149 #define si_pid _sifields._kill._pid macro
/linux-6.6.21/tools/testing/selftests/arm64/abi/
Dptrace.c221 si.si_pid == pid) in do_parent()
/linux-6.6.21/arch/m68k/kernel/
Dsignal.c592 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests()
601 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests()
606 BUILD_BUG_ON(offsetof(siginfo_t, si_pid) != 0x0c); in siginfo_build_tests()
/linux-6.6.21/include/linux/
Dptrace.h348 info.si_pid = 0; in user_single_step_report()
/linux-6.6.21/tools/testing/selftests/x86/
Dptrace_syscall.c89 if (si.si_pid != chld) in wait_trap()
/linux-6.6.21/arch/arm/kernel/
Dsignal.c695 static_assert(offsetof(siginfo_t, si_pid) == 0x0c);
/linux-6.6.21/arch/arm64/kernel/
Dsignal32.c473 static_assert(offsetof(compat_siginfo_t, si_pid) == 0x0c);
Dsignal.c1357 static_assert(offsetof(siginfo_t, si_pid) == 0x10);
/linux-6.6.21/arch/sparc/kernel/
Dsignal_64.c575 static_assert(offsetof(siginfo_t, si_pid) == 0x10);
Dsignal32.c766 static_assert(offsetof(compat_siginfo_t, si_pid) == 0x0c);
/linux-6.6.21/Documentation/virt/uml/
Duser_mode_linux_howto_v2.rst1118 …ptrace(PTRACE_GETSIGINFO, 16967, NULL, {si_signo=SIGTRAP, si_code=0x85, si_pid=16967, si_uid=0}) =…
1122 …--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=16967, si_uid=0, si_status=SIGTRAP, si_…
1126 …ptrace(PTRACE_GETSIGINFO, 16967, NULL, {si_signo=SIGTRAP, si_code=0x85, si_pid=16967, si_uid=0}) =…
/linux-6.6.21/ipc/
Dmqueue.c810 sig_i.si_pid = task_tgid_nr_ns(current, in __do_notify()
/linux-6.6.21/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1149 &TRAP_info.si_pid; in TEST_F()
3121 EXPECT_EQ(child_pid, info.si_pid); in TEST()
/linux-6.6.21/tools/perf/
Dbuiltin-trace.c1577 if (info->si_pid == workload_pid) in sighandler_chld()