| /freebsd-13.1/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ProcessInfo.cpp | 30 m_gid(UINT32_MAX), m_arch(arch), m_pid(pid) {} in ProcessInfo() 39 m_pid = LLDB_INVALID_PROCESS_ID; in Clear() 114 if (m_pid != LLDB_INVALID_PROCESS_ID) in Dump() 115 s.Printf(" pid = %" PRIu64 "\n", m_pid); in Dump() 188 if (m_pid != LLDB_INVALID_PROCESS_ID) { in DumpAsTableRow() 189 s.Printf("%-6" PRIu64 " %-6" PRIu64 " ", m_pid, m_parent_pid); in DumpAsTableRow() 344 io.mapRequired("pid", Info.m_pid); in mapping()
|
| /freebsd-13.1/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() 101 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
|
| /freebsd-13.1/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-13.1/crypto/openssh/ |
| H A D | sshd.c | 377 kill(pmonitor->m_pid, SIGALRM); in grace_alarm_handler() 517 pmonitor->m_pid = pid; in privsep_preauth() 533 pmonitor->m_pid = -1; in privsep_preauth() 537 pmonitor->m_pid = -1; in privsep_preauth() 581 pmonitor->m_pid = fork(); 582 if (pmonitor->m_pid == -1) 584 else if (pmonitor->m_pid != 0) { 2513 pmonitor != NULL && pmonitor->m_pid > 1) { 2514 debug("Killing privsep child %d", pmonitor->m_pid); 2515 if (kill(pmonitor->m_pid, SIGKILL) != 0 && [all …]
|
| H A D | monitor.h | 76 pid_t m_pid; member
|
| H A D | monitor.c | 390 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth() 1546 s->pid = pmonitor->m_pid; in mm_answer_pty() 1635 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-13.1/contrib/llvm-project/lldb/include/lldb/Host/common/ |
| H A D | NativeProcessProtocol.h | 172 lldb::pid_t GetID() const { return m_pid; } in GetID() 380 lldb::pid_t m_pid; variable 411 void SetID(lldb::pid_t pid) { m_pid = pid; } in SetID()
|
| /freebsd-13.1/contrib/blacklist/diff/ |
| H A D | ssh.diff | 129 if (use_privsep && pmonitor != NULL && pmonitor->m_pid > 0) 130 kill(pmonitor->m_pid, SIGALRM);
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 547 return PtraceWrapper(PT_KILL, m_pid); in Kill() 616 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache() 813 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 820 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
|
| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | mockfs.hh | 299 pid_t m_pid; member in MockFS
|
| H A D | mockfs.cc | 458 m_pid = getpid(); in MockFS() 855 if (pid == m_pid) { in pid_ok()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 185 m_pid = GetInterface().GetProcessID(); in DidLaunch()
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Process.h | 542 lldb::pid_t GetID() const { return m_pid; } in GetID() 546 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID() 2849 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 853 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 860 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in Attach()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | NativeProcessProtocol.cpp | 28 : m_pid(pid), m_delegate(delegate), m_terminal_fd(terminal_fd) { in NativeProcessProtocol()
|