mirror of https://github.com/shirou/gopsutil
Darwin: Remove questionable UIDs
process.Process.uids is an array of undocumented values. That one of them is the user that the process is running as is obvious, but what the other two are supposed to be is AFAICT undocumented. On Darwin, the second and third UID (out of three) seem to always be 0. This change removes the two always-zero UIDs from the process.Process struct on Darwin, and leaves just the one that actually identifies the user the process is running as.pull/153/head
parent
e3a7a45492
commit
09fbecef59
Loading…
Reference in New Issue