PPID: ppid macos

This commit is contained in:
Alastair Poole 2020-08-11 12:00:02 +01:00
parent afb6428e2d
commit 3ef00ca584
1 changed files with 1 additions and 0 deletions

View File

@ -673,6 +673,7 @@ _proc_pidinfo(size_t pid)
if (!p) return NULL;
p->pid = pid;
p->ppid = taskinfo.pbsd.pbi_ppid;
p->uid = taskinfo.pbsd.pbi_uid;
p->cpu_id = -1;
p->cpu_time = taskinfo.ptinfo.pti_total_user +