Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
ea18a500
Commit
ea18a500
authored
Aug 20, 2015
by
Hisham Muhammad
Browse files
Merge pull request #134 from jeffgarrett/pid-selection
Interpret command line PIDs as PIDs, not TIDs
parents
c9cab824
ab0bceb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
ProcessList.c
View file @
ea18a500
...
...
@@ -273,7 +273,7 @@ void ProcessList_rebuildPanel(ProcessList* this) {
if
(
(
!
p
->
show
)
||
(
this
->
userId
!=
(
uid_t
)
-
1
&&
(
p
->
st_uid
!=
this
->
userId
))
||
(
incFilter
&&
!
(
String_contains_i
(
p
->
comm
,
incFilter
)))
||
(
this
->
pidWhiteList
&&
!
Hashtable_get
(
this
->
pidWhiteList
,
p
->
p
id
))
)
||
(
this
->
pidWhiteList
&&
!
Hashtable_get
(
this
->
pidWhiteList
,
p
->
tg
id
))
)
hidden
=
true
;
if
(
!
hidden
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment