Darwin: Always update username

This commit is contained in:
Benny Baumann
2021-06-18 20:42:04 +02:00
committed by BenBE
parent 8aca6fbfbd
commit 6a6b09b431
2 changed files with 5 additions and 3 deletions

View File

@ -298,7 +298,6 @@ void DarwinProcess_setFromKInfoProc(Process* proc, const struct kinfo_proc* ps,
proc->tgid = proc->pid;
proc->isKernelThread = false;
proc->isUserlandThread = false;
proc->st_uid = ps->kp_eproc.e_ucred.cr_uid;
dp->translated = ps->kp_proc.p_flag & P_TRANSLATED;
proc->tty_nr = ps->kp_eproc.e_tdev;