summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2008-09-23 06:29:03 +0000
committerHisham Muhammad <hisham@gobolinux.org>2008-09-23 06:29:03 +0000
commita2f6eea0c4ba3040b88cffa212bec7b782446dd4 (patch)
tree54ee993d0805df789ab1fd3f906fd9d786bd1398 /ProcessList.c
parent11931f1bc856ae34de6666423efc9257960506ce (diff)
Remove assertion that fails on hardened kernels
(thanks to Wolfram Schlich for the report)
Diffstat (limited to 'ProcessList.c')
-rw-r--r--ProcessList.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ProcessList.c b/ProcessList.c
index 82ff6efb..839660dc 100644
--- a/ProcessList.c
+++ b/ProcessList.c
@@ -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

© 2014-2024 Faster IT GmbH | imprint | privacy policy