]> granicus.if.org Git - procps-ng/commit
top: ensure necessary proc_t support if '-U' filtering
authorJim Warner <james.warner@comcast.net>
Thu, 15 Jun 2017 17:00:00 +0000 (12:00 -0500)
committerCraig Small <csmall@enc.com.au>
Tue, 4 Jul 2017 10:29:25 +0000 (20:29 +1000)
commit09982256515d46fedd5afb32b87919fdd6f94a3d
tree72a4abace57ad0048e0213dd45b4f49f316267a4
parent4b44aebd807bd132c14df20eabff2f2e9628ef97
top: ensure necessary proc_t support if '-U' filtering

While the effective user id would always be present in
each proc_t, thus supporting 'u' filtering, other user
ids would only be present if /proc/$$/status was read.

This commit just puts the 'master' branch top on a par
with the 'newlib' branch when user filtering with 'U'.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c