| /freebsd/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, in DumpAsTableRow()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | ProcessInfo.h | 68 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 D | sshd-session.c | 196 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor() 319 pmonitor->m_pid = pid; in privsep_preauth() 393 pmonitor->m_pid = fork(); in privsep_postauth() 394 if (pmonitor->m_pid == -1) in privsep_postauth() 396 else if (pmonitor->m_pid != 0) { in privsep_postauth() 397 verbose("User child is on pid %ld", (long)pmonitor->m_pid); in privsep_postauth() 1357 pmonitor != NULL && pmonitor->m_pid > 1) { in cleanup_exit() 1358 debug("Killing privsep child %d", pmonitor->m_pid); in cleanup_exit() 1359 if (kill(pmonitor->m_pid, SIGKILL) != 0 && in cleanup_exit() 1361 error_f("kill(%d): %s", pmonitor->m_pid, in cleanup_exit()
|
| H A D | monitor.h | 79 pid_t m_pid; member
|
| H A D | monitor.c | 384 while (waitpid(pmonitor->m_pid, &status, 0) == -1) { in monitor_child_preauth() 392 (long)pmonitor->m_pid, WEXITSTATUS(status)); in monitor_child_preauth() 395 (long)pmonitor->m_pid, WTERMSIG(status)); in monitor_child_preauth() 398 (long)pmonitor->m_pid); in monitor_child_preauth() 405 pmonitor->m_pid = -1; in monitor_child_preauth() 426 monitor_set_child_handler(pmonitor->m_pid); in monitor_child_postauth() 1717 s->pid = pmonitor->m_pid; in mm_answer_pty() 1806 while (waitpid(pmonitor->m_pid, &status, 0) == -1) in mm_answer_term()
|
| H A D | monitor_wrap.c | 126 while (waitpid(pmonitor->m_pid, &status, 0) == -1) { in mm_reap() 129 pmonitor->m_pid = -1; in mm_reap()
|
| /freebsd/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/contrib/llvm-project/lldb/include/lldb/Host/common/ |
| H A D | NativeProcessProtocol.h | 180 lldb::pid_t GetID() const { return m_pid; } in GetID() 420 lldb::pid_t m_pid; variable 451 void SetID(lldb::pid_t pid) { m_pid = pid; } in SetID()
|
| /freebsd/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/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.cpp | 587 return PtraceWrapper(PT_KILL, m_pid); in Kill() 656 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, static_cast<int>(m_pid)}; in PopulateMemoryRegionCache() 866 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 873 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 180 void ScriptedProcess::DidLaunch() { m_pid = GetInterface().GetProcessID(); } in DidLaunch() 184 m_pid = GetInterface().GetProcessID(); in DidResume()
|
| /freebsd/tests/sys/fs/fusefs/ |
| H A D | mockfs.hh | 309 pid_t m_pid; member in MockFS
|
| H A D | mockfs.cc | 436 m_pid(getpid()), in MockFS() 902 if (pid == m_pid) { in pid_ok()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Process.h | 555 lldb::pid_t GetID() const { return m_pid; } in GetID() 560 void SetID(lldb::pid_t new_pid) { m_pid = new_pid; } in SetID() 3121 lldb::pid_t m_pid = LLDB_INVALID_PROCESS_ID; variable
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 879 Status status = PtraceWrapper(PT_ATTACH, m_pid); in Attach() 886 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in Attach()
|
| /freebsd/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()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | Process.cpp | 1041 info->pid = m_pid; in SetExitStatus() 1047 [module_uuid, pid = m_pid](telemetry::ProcessExitInfo *info) { in SetExitStatus()
|