Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/top/machine.c
Context not available. | |||||
/* skip proc. that don't belong to the selected JID */ | /* skip proc. that don't belong to the selected JID */ | ||||
continue; | continue; | ||||
if (sel->uid[0] != -1 && !find_uid(pp->ki_ruid, sel->uid)) | if (sel->uid[0] != -1 && !excludeusers && !find_uid(pp->ki_ruid, sel->uid)) | ||||
/* skip proc. that don't belong to the selected UID */ | /* skip proc. that don't belong to the selected UID */ | ||||
continue; | continue; | ||||
if (sel->uid[0] != -1 && excludeusers && find_uid(pp->ki_ruid, sel->uid)) | |||||
/* skip proc. that belong to the selected UID */ | |||||
continue; | |||||
if (sel->pid != -1 && pp->ki_pid != sel->pid) | if (sel->pid != -1 && pp->ki_pid != sel->pid) | ||||
continue; | continue; | ||||
Context not available. |