/openbsd/gnu/llvm/lldb/source/Utility/ |
H A D | ProcessInfo.cpp | 29 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 D | ProcessInfo.h | 66 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 D | RNBContext.h | 48 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 D | RNBContext.cpp | 79 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 D | sshd-session.c | 298 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 D | monitor.h | 70 pid_t m_pid; member
|
H A D | monitor_wrap.c | 117 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 D | monitor.c | 333 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 D | PlatformiOSSimulatorCoreSimulatorSupport.h | 33 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 D | PlatformiOSSimulatorCoreSimulatorSupport.mm | 61 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 D | MachProcess.mm | 563 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 D | MachProcess.h | 218 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 D | NativeProcessProtocol.h | 184 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 D | mproc.c | 287 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 D | smtpd.h | 987 pid_t m_pid; member
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeProcessFreeBSD.cpp | 561 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 D | NativeProcessOpenBSD.cpp | 467 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 D | Process.h | 526 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 D | ScriptedProcess.cpp | 172 m_pid = GetInterface().GetProcessID(); in DidLaunch()
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeProcessNetBSD.cpp | 854 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 D | NativeProcessProtocol.cpp | 30 : m_pid(pid), m_delegate(delegate), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()
|