Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/lldb/source/Utility/
H A DProcessInfo.cpp29 m_pid(pid) {} in ProcessInfo()
38 m_pid = LLDB_INVALID_PROCESS_ID; in Clear()
113 if (m_pid != LLDB_INVALID_PROCESS_ID) in Dump()
114 s.Printf(" pid = %" PRIu64 "\n", m_pid); in Dump()
187 if (m_pid != LLDB_INVALID_PROCESS_ID) { in DumpAsTableRow()
188 s.Printf("%-6" PRIu64 " %-6" PRIu64 " ", m_pid, m_parent_pid); in DumpAsTableRow()
/openbsd/gnu/llvm/lldb/include/lldb/Utility/
H A DProcessInfo.h66 lldb::pid_t GetProcessID() const { return m_pid; } in GetProcessID()
68 void SetProcessID(lldb::pid_t pid) { m_pid = pid; } in SetProcessID()
70 bool ProcessIDIsValid() const { return m_pid != LLDB_INVALID_PROCESS_ID; } in ProcessIDIsValid()
99 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
/openbsd/gnu/llvm/lldb/tools/debugserver/source/
H A DRNBContext.h48 nub_process_t ProcessID() const { return m_pid; } in ProcessID()
49 bool HasValidProcessID() const { return m_pid != INVALID_NUB_PROCESS; } in HasValidProcessID()
132 nub_process_t m_pid = INVALID_NUB_PROCESS;
H A DRNBContext.cpp79 if (m_pid != INVALID_NUB_PROCESS) { in SetProcessID()
84 m_pid = pid; in SetProcessID()
287 nub_state_t pid_state = DNBProcessGetState(m_pid); in ProcessStateRunning()
/openbsd/usr.bin/ssh/
H A Dsshd-session.c298 pmonitor->m_pid = pid; in privsep_preauth()
314 pmonitor->m_pid = -1; in privsep_preauth()
318 pmonitor->m_pid = -1; in privsep_preauth()
352 pmonitor->m_pid = fork(); in privsep_postauth()
353 if (pmonitor->m_pid == -1) in privsep_postauth()
355 else if (pmonitor->m_pid != 0) { in privsep_postauth()
356 verbose("User child is on pid %ld", (long)pmonitor->m_pid); in privsep_postauth()
1344 pmonitor != NULL && pmonitor->m_pid > 1) { in cleanup_exit()
1345 debug("Killing privsep child %d", pmonitor->m_pid); in cleanup_exit()
1346 if (kill(pmonitor->m_pid, SIGKILL) != 0 && in cleanup_exit()
[all …]
H A Dmonitor.h70 pid_t m_pid; member
H A Dmonitor_wrap.c117 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
145 while (waitpid(pmonitor->m_pid, &status, 0) == -1) { in mm_reap()
148 pmonitor->m_pid = -1; in mm_reap()
H A Dmonitor.c333 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth()
1323 s->pid = pmonitor->m_pid; in mm_answer_pty()
1407 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/objcxx/
H A DPlatformiOSSimulatorCoreSimulatorSupport.h33 lldb::pid_t GetPID() { return m_pid; } in GetPID()
35 explicit operator bool() { return m_pid != LLDB_INVALID_PROCESS_ID; }
46 lldb::pid_t m_pid; variable
H A DPlatformiOSSimulatorCoreSimulatorSupport.mm61 CoreSimulatorSupport::Process::Process(lldb::pid_t p) : m_pid(p), m_error() {} function
64 : m_pid(LLDB_INVALID_PROCESS_ID), m_error(error) {} function
67 : m_pid(p), m_error(error) {} function
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm563 m_pid = pid;
2733 m_pid = pid;
2772 return m_pid;
3366 return m_pid;
3707 if (m_pid != 0) {
3728 m_pid);
3740 return m_pid;
3923 if (m_pid != 0) {
3947 m_pid);
3960 return m_pid;
[all …]
H A DMachProcess.h218 pid_t ProcessID() const { return m_pid; } in ProcessID()
219 bool ProcessIDIsValid() const { return m_pid > 0; } in ProcessIDIsValid()
390 pid_t m_pid; // Process ID of child process variable
/openbsd/gnu/llvm/lldb/include/lldb/Host/common/
H A DNativeProcessProtocol.h184 lldb::pid_t GetID() const { return m_pid; } in GetID()
417 lldb::pid_t m_pid; variable
448 void SetID(lldb::pid_t pid) { m_pid = pid; } in SetID()
/openbsd/usr.sbin/smtpd/
H A Dmproc.c287 p->m_pid = pid; in m_create()
326 if (imsg_compose(&p->imsgbuf, p->m_type, p->m_peerid, p->m_pid, p->m_fd, in m_close()
342 if (imsg_compose(&p->imsgbuf, p->m_type, p->m_peerid, p->m_pid, p->m_fd, in m_flush()
H A Dsmtpd.h987 pid_t m_pid; member
/openbsd/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp561 return PtraceWrapper(PT_KILL, m_pid); in Kill()
630 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache()
830 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
837 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
/openbsd/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/
H A DNativeProcessOpenBSD.cpp467 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
473 if ((wstatus = waitpid(m_pid, NULL, 0)) < 0) in Attach()
/openbsd/gnu/llvm/lldb/include/lldb/Target/
H A DProcess.h526 lldb::pid_t GetID() const { return m_pid; } in GetID()
531 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID()
2857 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
/openbsd/gnu/llvm/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp172 m_pid = GetInterface().GetProcessID(); in DidLaunch()
/openbsd/gnu/llvm/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp854 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach()
861 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in Attach()
/openbsd/gnu/llvm/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp30 : m_pid(pid), m_delegate(delegate), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()