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
a2f6eea0
Commit
a2f6eea0
authored
Sep 23, 2008
by
Hisham Muhammad
Browse files
Remove assertion that fails on hardened kernels
(thanks to Wolfram Schlich for the report)
parent
11931f1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a2f6eea0
...
...
@@ -7,6 +7,8 @@ What's new in version 0.8.1
(thanks to Ian Page Hands)
* BUGFIX: Fix collection of IO stats in multithreaded processes
(thanks to Gerhard Heift)
* Remove assertion that fails on hardened kernels
(thanks to Wolfram Schlich for the report)
What's new in version 0.8
...
...
ProcessList.c
View file @
a2f6eea0
...
...
@@ -371,7 +371,9 @@ void ProcessList_sort(ProcessList* this) {
// Take PID 1 as root and add to the new listing
int
vsize
=
Vector_size
(
this
->
processes
);
Process
*
init
=
(
Process
*
)
(
Vector_take
(
this
->
processes
,
0
));
assert
(
init
->
pid
==
1
);
// This assertion crashes on hardened kernels.
// I wonder how well tree view works on those systems.
// assert(init->pid == 1);
init
->
indent
=
0
;
Vector_add
(
this
->
processes2
,
init
);
// Recursively empty list
...
...
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