• Home
  • Raw
  • Download

Lines Matching refs:process_info

187                       ProcessInstanceInfo &process_info)  in GetFreeBSDProcessArgs()  argument
189 if (process_info.ProcessIDIsValid()) { in GetFreeBSDProcessArgs()
190 int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_ARGS, (int)process_info.GetProcessID() }; in GetFreeBSDProcessArgs()
203 process_info.GetExecutableFile().SetFile(cstr, false); in GetFreeBSDProcessArgs()
206 NameMatches (process_info.GetExecutableFile().GetFilename().GetCString(), in GetFreeBSDProcessArgs()
211 Args &proc_args = process_info.GetArguments(); in GetFreeBSDProcessArgs()
236 GetFreeBSDProcessCPUType (ProcessInstanceInfo &process_info) in GetFreeBSDProcessCPUType() argument
238 if (process_info.ProcessIDIsValid()) { in GetFreeBSDProcessCPUType()
239 process_info.GetArchitecture() = Host::GetArchitecture (Host::eSystemDefaultArchitecture); in GetFreeBSDProcessCPUType()
242 process_info.GetArchitecture().Clear(); in GetFreeBSDProcessCPUType()
247 GetFreeBSDProcessUserAndGroup(ProcessInstanceInfo &process_info) in GetFreeBSDProcessUserAndGroup() argument
252 if (process_info.ProcessIDIsValid()) in GetFreeBSDProcessUserAndGroup()
255 (int)process_info.GetProcessID() }; in GetFreeBSDProcessUserAndGroup()
262 process_info.SetParentProcessID (proc_kinfo.ki_ppid); in GetFreeBSDProcessUserAndGroup()
263 process_info.SetUserID (proc_kinfo.ki_ruid); in GetFreeBSDProcessUserAndGroup()
264 process_info.SetGroupID (proc_kinfo.ki_rgid); in GetFreeBSDProcessUserAndGroup()
265 process_info.SetEffectiveUserID (proc_kinfo.ki_uid); in GetFreeBSDProcessUserAndGroup()
267 process_info.SetEffectiveGroupID (proc_kinfo.ki_groups[0]); in GetFreeBSDProcessUserAndGroup()
269 process_info.SetEffectiveGroupID (UINT32_MAX); in GetFreeBSDProcessUserAndGroup()
274 process_info.SetParentProcessID (LLDB_INVALID_PROCESS_ID); in GetFreeBSDProcessUserAndGroup()
275 process_info.SetUserID (UINT32_MAX); in GetFreeBSDProcessUserAndGroup()
276 process_info.SetGroupID (UINT32_MAX); in GetFreeBSDProcessUserAndGroup()
277 process_info.SetEffectiveUserID (UINT32_MAX); in GetFreeBSDProcessUserAndGroup()
278 process_info.SetEffectiveGroupID (UINT32_MAX); in GetFreeBSDProcessUserAndGroup()
283 Host::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) in GetProcessInfo() argument
285 process_info.SetProcessID(pid); in GetProcessInfo()
286 if (GetFreeBSDProcessArgs(NULL, process_info)) { in GetProcessInfo()
288 GetFreeBSDProcessCPUType(process_info); in GetProcessInfo()
289 GetFreeBSDProcessUserAndGroup(process_info); in GetProcessInfo()
292 process_info.Clear(); in GetProcessInfo()