Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add timestamps to the strace screen | Mario Harjac | 2019-04-29 | 1 | -1/+1 |
| | |||||
* | strace: increase string length | Hisham Muhammad | 2018-03-25 | 1 | -1/+1 |
| | |||||
* | Replace size_t with int/void* union | Hisham Muhammad | 2018-02-18 | 1 | -1/+2 |
| | | | | | | | | I was occasionally passing negative values to size_t. Plus, this better reflects the intent of the variant argument. Reported by Coverity: https://scan8.coverity.com/reports.htm#v13253/p10402/fileInstanceId=22093891&defectInstanceId=7543346&mergedDefectId=174179&fileStart=251&fileEnd=500 | ||||
* | Security review: check results of snprintf. | Hisham Muhammad | 2017-07-27 | 1 | -3/+3 |
| | | | | | Calls marked with xSnprintf shouldn't fail. Abort program cleanly if any of them does. | ||||
* | Merge branch 'master' of https://github.com/hishamhm/htop | Hisham Muhammad | 2017-07-26 | 1 | -2/+2 |
|\ | |||||
| * | Mark some things as const | Richard | 2017-07-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const. | ||||
* | | Security review: make privilege dropping-restoring optional. | Hisham Muhammad | 2017-07-26 | 1 | -1/+1 |
|/ | | | | | | | This is/was necessary only on macOS, because you needed root in order to read the process list. This was never necessary on Linux, and it also raises security concerns, so now it needs to be enabled explicitly at build time. | ||||
* | Add missing include | coypoop | 2017-03-25 | 1 | -0/+1 |
| | | | sys/time.h for struct timeval | ||||
* | Replace all uses of sprintf with snprintf | Tomasz Kramkowski | 2016-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | In all the cases where sprintf was being used within htop, snprintf could have been used. This patch replaces all uses of sprintf with snprintf which makes sure that if a buffer is too small to hold the resulting string, the string is simply cut short instead of causing a buffer overflow which leads to undefined behaviour. `sizeof(variable)` was used in these cases, as opposed to `sizeof variable` which is my personal preference because `sizeof(variable)` was already used in one way or another in other parts of the code. | ||||
* | Silence warnings about seteuid return value. | Hisham | 2016-05-25 | 1 | -1/+1 |
| | | | | Closes #483. | ||||
* | Check for failure in allocations. | Hisham | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | refactor *Screen classes, add InfoScreen superclass | Hisham Muhammad | 2016-01-12 | 1 | -156/+98 |
| | |||||
* | add some security checks when running SUID root | Michael Klein | 2015-12-02 | 1 | -0/+1 |
| | | | | | | 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. | ||||
* | Clean up some needless malloc casts, convert some mallocs to callocs, and ↵ | Michael McConville | 2015-09-16 | 1 | -1/+1 |
| | | | | fix some style | ||||
* | Rename String to StringUtils. | David Hunt | 2015-08-19 | 1 | -1/+1 |
| | | | | | | | | | 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 | ||||
* | fix compiler warnings | Christian Hesse | 2015-05-15 | 1 | -1/+2 |
| | | | | | | | | | 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. | ||||
* | incremental search and filter reintegrated! | Hisham Muhammad | 2015-03-23 | 1 | -4/+3 |
| | |||||
* | Move FunctionBar inside Panel | Hisham Muhammad | 2015-03-23 | 1 | -7/+7 |
| | |||||
* | safer code, test for return of fcntl | Hisham Muhammad | 2014-04-22 | 1 | -3/+5 |
| | |||||
* | Changes in object model: separate class objects to store vtable. Also, nicer ↵ | Hisham Muhammad | 2012-12-05 | 1 | -6/+7 |
| | | | | UTF-8 display of big numbers. | ||||
* | search and filter for the strace and lsof screens! | Hisham Muhammad | 2012-11-10 | 1 | -50/+96 |
| | |||||
* | make htop trunk compile on FreeBSD 8.2-STABLE | Hisham Muhammad | 2012-01-03 | 1 | -0/+1 |
| | | | | | (thanks to Trond Endestrol) | ||||
* | major header cleanup | Hisham Muhammad | 2011-12-26 | 1 | -6/+9 |
| | |||||
* | Convert affinity control from the deprecated PLPA to HWLOC | Hisham Muhammad | 2011-09-24 | 1 | -1/+1 |
| | |||||
* | add support for steal/guest CPU time measurement | Hisham Muhammad | 2010-08-24 | 1 | -4/+4 |
| | | | | | | simplify processor data accounting (add CPUData structure) remove Process_clone trick | ||||
* | home and end keys in trace screens | Hisham Muhammad | 2010-07-31 | 1 | -0/+6 |
| | |||||
* | warning fixes | Hisham Muhammad | 2010-02-25 | 1 | -2/+2 |
| | |||||
* | fix to minor bug affecting the build process, a maintenance release will ↵ | Hisham Muhammad | 2009-06-08 | 1 | -0/+1 |
| | | | | follow shortly. | ||||
* | changes for htop 0.8.2 | Hisham Muhammad | 2009-06-02 | 1 | -7/+7 |
| | |||||
* | Clean up headers by using 'static' whenever possible. | Hisham Muhammad | 2008-03-09 | 1 | -1/+1 |
| | | | | | Reduces resulting code size. | ||||
* | Fix bug 1538463. | Hisham Muhammad | 2006-08-24 | 1 | -0/+1 |
| | |||||
* | Performance improvement hackathon: improve process comparison routines, | Hisham Muhammad | 2006-07-11 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
* | Updates for new version of the MakeHeader.py script. | Hisham Muhammad | 2006-06-06 | 1 | -3/+0 |
| | |||||
* | Display error message when strace is not available. | Hisham Muhammad | 2006-06-03 | 1 | -0/+2 |
| | | | | | | Mark autogen.sh executable in svn. | ||||
* | Remove references to ListBox | Hisham Muhammad | 2006-05-30 | 1 | -13/+13 |
| | |||||
* | Rename ListBox to Panel, matching dit. | Hisham Muhammad | 2006-05-30 | 1 | -16/+16 |
| | |||||
* | Wait for strace child process to die properly | Hisham Muhammad | 2006-05-09 | 1 | -0/+3 |
| | |||||
* | Fixes for header generation. | Hisham Muhammad | 2006-03-23 | 1 | -1/+3 |
| | |||||
* | Initial import. | Hisham Muhammad | 2006-03-04 | 1 | -0/+164 |