| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ProcessInfo.cpp | 31 m_pid(pid), m_listener_sp(), m_hijack_listener_sp(), in ProcessInfo() 41 m_pid = LLDB_INVALID_PROCESS_ID; in Clear() 121 if (m_pid != LLDB_INVALID_PROCESS_ID) in Dump() 122 s.Printf(" pid = %" PRIu64 "\n", m_pid); in Dump() 195 if (m_pid != LLDB_INVALID_PROCESS_ID) { in DumpAsTableRow() 196 s.Printf("%-6" PRIu64 " %-6" PRIu64 " ", m_pid, m_parent_pid); in DumpAsTableRow()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | ProcessInfo.h | 67 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID() 69 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID() 71 bool ProcessIDIsValid() const { return m_pid != LLDB_INVALID_PROCESS_ID; } in ProcessIDIsValid() 129 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
|
| /freebsd-14.2/contrib/atf/atf-c/detail/ |
| H A D | process.c | 251 c->m_pid = 0; in atf_process_child_init() 274 if (waitpid(c->m_pid, &status, 0) == -1) in atf_process_child_wait() 276 c->m_pid); in atf_process_child_wait() 288 return c->m_pid; in atf_process_child_pid() 402 c->m_pid = pid; in do_parent()
|
| H A D | process.h | 96 pid_t m_pid; member
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Host/common/ |
| H A D | NativeProcessProtocol.h | 184 lldb::pid_t GetID() const { return m_pid; } in GetID() 424 lldb::pid_t m_pid; variable 455 void SetID(lldb::pid_t pid) { m_pid = pid; } in SetID()
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | sshd.c | 503 pmonitor->m_pid = pid; in privsep_preauth() 519 pmonitor->m_pid = -1; in privsep_preauth() 523 pmonitor->m_pid = -1; in privsep_preauth() 567 pmonitor->m_pid = fork(); 568 if (pmonitor->m_pid == -1) 570 else if (pmonitor->m_pid != 0) { 571 verbose("User child is on pid %ld", (long)pmonitor->m_pid); 2549 pmonitor != NULL && pmonitor->m_pid > 1) { 2550 debug("Killing privsep child %d", pmonitor->m_pid); 2551 if (kill(pmonitor->m_pid, SIGKILL) != 0 && [all …]
|
| H A D | monitor.h | 76 pid_t m_pid; member
|
| H A D | monitor.c | 392 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth() 1561 s->pid = pmonitor->m_pid; in mm_answer_pty() 1650 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
|
| H A D | monitor_wrap.c | 119 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
|
| /freebsd-14.2/contrib/blocklist/diff/ |
| H A D | ssh.diff | 129 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0) 130 kill(pmonitor->m_pid, SIGALRM);
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 559 return PtraceWrapper(PT_KILL, m_pid); in Kill() 628 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache() 828 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 835 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 178 void ScriptedProcess::DidLaunch() { m_pid = GetInterface().GetProcessID(); } in DidLaunch() 182 m_pid = GetInterface().GetProcessID(); in DidResume()
|
| /freebsd-14.2/tests/sys/fs/fusefs/ |
| H A D | mockfs.hh | 299 pid_t m_pid; member in MockFS
|
| H A D | mockfs.cc | 469 m_pid = getpid(); in MockFS() 875 if (pid == m_pid) { in pid_ok()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Process.h | 536 lldb::pid_t GetID() const { return m_pid; } in GetID() 541 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID() 2986 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 873 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 880 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in Attach()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | NativeProcessProtocol.cpp | 30 : m_pid(pid), m_delegate(delegate), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()
|