Home
last modified time | relevance | path

Searched refs:m_pid (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DProcessInfo.cpp31 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, in DumpAsTableRow()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DProcessInfo.h68 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID()
70 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID()
72 bool ProcessIDIsValid() const { return m_pid != LLDB_INVALID_PROCESS_ID; } in ProcessIDIsValid()
130 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
/freebsd/crypto/openssh/
H A Dsshd-session.c343 pmonitor->m_pid = pid; in privsep_preauth()
359 pmonitor->m_pid = -1; in privsep_preauth()
363 pmonitor->m_pid = -1; in privsep_preauth()
412 pmonitor->m_pid = fork(); in privsep_postauth()
413 if (pmonitor->m_pid == -1) in privsep_postauth()
415 else if (pmonitor->m_pid != 0) { in privsep_postauth()
416 verbose("User child is on pid %ld", (long)pmonitor->m_pid); in privsep_postauth()
1505 pmonitor != NULL && pmonitor->m_pid > 1) { in cleanup_exit()
1506 debug("Killing privsep child %d", pmonitor->m_pid); in cleanup_exit()
1507 if (kill(pmonitor->m_pid, SIGKILL) != 0 && in cleanup_exit()
[all …]
H A Dmonitor.h77 pid_t m_pid; member
H A Dmonitor_wrap.c121 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
131 while (waitpid(pmonitor->m_pid, &status, 0) == -1) { in mm_reap()
134 pmonitor->m_pid = -1; in mm_reap()
H A Dmonitor.c397 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth()
1586 s->pid = pmonitor->m_pid; in mm_answer_pty()
1675 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
/freebsd/contrib/atf/atf-c/detail/
H A Dprocess.c251 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 Dprocess.h96 pid_t m_pid; member
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DNativeProcessProtocol.h184 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/contrib/blocklist/diff/
H A Dssh.diff129 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0)
130 kill(pmonitor->m_pid, SIGALRM);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp178 void ScriptedProcess::DidLaunch() { m_pid = GetInterface().GetProcessID(); } in DoAttach()
182 m_pid = GetInterface().GetProcessID(); in DoAttach()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp580 return PtraceWrapper(PT_KILL, m_pid); in Kill()
649 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache()
857 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
864 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
/freebsd/tests/sys/fs/fusefs/
H A Dmockfs.hh307 pid_t m_pid; member in MockFS
H A Dmockfs.cc430 m_pid(getpid()), in MockFS()
874 if (pid == m_pid) { in pid_ok()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcess.h540 lldb::pid_t GetID() const { return m_pid; } in GetID()
545 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID()
3047 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp873 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
880 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in ReadMemory()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp30 : m_pid(pid), m_delegate(delegate), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()