Michael Klein
d18e9a4895
add some security checks when running SUID root
...
on Darwin, htop needs to run with root privileges to display information
about other users processes. This commit makes running htop SUID root a
bit more safe.
2015-12-02 22:56:01 +01:00
Michael McConville
445222e48c
Clean up some needless malloc casts, convert some mallocs to callocs, and fix some style
2015-09-16 23:42:36 -04:00
David Hunt
5e602f18d5
Rename String to StringUtils.
...
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>.
From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001
From: David Hunt <dhunt@iolanthe.attlocal.net>
Date: Sat, 11 Jul 2015 20:56:31 -0500
Subject: [PATCH 1/8] Rename String to StringUtils
2015-08-19 13:45:20 -03:00
Christian Hesse
08829cbc3b
fix compiler warnings
...
gcc gives warnings like this:
warning: ignoring return value of ‘fscanf’, declared with attribute
warn_unused_result
Assign value to a variable, cast to (void) to discard it.
2015-05-15 11:33:25 +02:00
Hisham Muhammad
ade7993fcb
incremental search and filter reintegrated!
2015-03-23 17:04:53 -03:00
Hisham Muhammad
d0c72c3fb2
Move FunctionBar inside Panel
2015-03-23 15:26:56 -03:00
Hisham Muhammad
1afbc19087
safer code, test for return of fcntl
2014-04-22 20:35:44 -03:00
Hisham Muhammad
00b324bfc1
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
2012-12-05 15:12:20 +00:00
Hisham Muhammad
2a73405cd0
search and filter for the strace and lsof screens!
2012-11-10 00:31:37 +00:00
Hisham Muhammad
8b73d11ac6
make htop trunk compile on FreeBSD 8.2-STABLE
...
(thanks to Trond Endestrol)
2012-01-03 18:19:11 +00:00
Hisham Muhammad
84281bdc44
major header cleanup
2011-12-26 21:35:57 +00:00
Hisham Muhammad
ec17b7029a
Convert affinity control from the deprecated PLPA to HWLOC
2011-09-24 00:30:47 +00:00
Hisham Muhammad
6486229308
add support for steal/guest CPU time measurement
...
simplify processor data accounting (add CPUData structure)
remove Process_clone trick
2010-08-24 23:20:38 +00:00
Hisham Muhammad
0b0bd25e42
home and end keys in trace screens
2010-07-31 00:11:34 +00:00
Hisham Muhammad
02a30bfecd
warning fixes
2010-02-25 01:43:18 +00:00
Hisham Muhammad
3e6be2d7f7
fix to minor bug affecting the build process, a maintenance release will follow shortly.
2009-06-08 21:08:02 +00:00
Hisham Muhammad
6330ff3a0a
changes for htop 0.8.2
2009-06-02 04:51:23 +00:00
Hisham Muhammad
da23c8c5a1
Clean up headers by using 'static' whenever possible.
...
Reduces resulting code size.
2008-03-09 08:58:38 +00:00
Hisham Muhammad
cc5af25e11
Fix bug 1538463.
2006-08-24 21:28:29 +00:00
Hisham Muhammad
5d48ab8c28
Performance improvement hackathon: improve process comparison routines,
...
disable useless code in release builds such as runtime type-checking on
dynamic data structures and process fields that are not being computed,
faster(?) method for verifying the process owner (still need to ensure
correctness), don't destroy and create process objects for hidden kernel
threads over and over. Phew. I shouldn't be doing all this today, but I
could not resist.
2006-07-11 06:13:32 +00:00
Hisham Muhammad
2f1f82ee87
Updates for new version of the MakeHeader.py script.
2006-06-06 20:41:01 +00:00
Hisham Muhammad
8bc180b7d1
Display error message when strace is not available.
...
Mark autogen.sh executable in svn.
2006-06-03 23:14:09 +00:00
Hisham Muhammad
ea855aef73
Remove references to ListBox
2006-05-30 14:00:18 +00:00
Hisham Muhammad
c2cdcd0c1d
Rename ListBox to Panel, matching dit.
2006-05-30 13:47:28 +00:00
Hisham Muhammad
9d5cc90497
Wait for strace child process to die properly
2006-05-09 17:58:40 +00:00
Hisham Muhammad
130938f691
Fixes for header generation.
2006-03-23 18:55:29 +00:00
Hisham Muhammad
d6231bab89
Initial import.
2006-03-04 18:16:49 +00:00