summaryrefslogtreecommitdiffstats
path: root/EnvScreen.c
AgeCommit message (Collapse)Author
2021-02-17Refactor to remove no-op callsBenny Baumann
This removes the call-sites of the removed setuid feature
2021-01-11Mark several non-modified pointer variables constChristian Göttsche
2021-01-11Make Infoscreens the correct heightDaniel Lange
2020-12-21EnvScreen: mark local class functions staticChristian Göttsche
2020-11-24Improving Command display/sortNarendran Gopalakrishnan
2020-11-02Spacing around operatorsBenny Baumann
2020-10-18Make all required includes explicitBenny Baumann
Information as seen by IWYU 0.12 + clang 9 on Linux
2020-10-16Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann
2020-10-07Mark Object instances constChristian Göttsche
2020-09-09Consolidate repeated macro definitions into one headerNathan Scott
The MIN, MAX, CLAMP, MINIMUM, and MAXIMUM macros appear throughout the codebase with many re-definitions. Make a single copy of each in a common header file, and use the BSD variants of MINIMUM/MAXIMUM due to conflicts in the system <sys/param.h> headers.
2020-09-03Axe automated header generation.Zev Weiss
Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
2017-07-26Security review: make privilege dropping-restoring optional.Hisham Muhammad
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.
2016-05-25Silence warnings about seteuid return value.Hisham
Closes #483.
2016-02-02Check for failure in allocations.Hisham
2016-01-12refactor *Screen classes, add InfoScreen superclassHisham Muhammad
2016-01-06drop privileges before reading environmentMichael Klein
2015-12-03Add Platform_getProcessEnvMichael Klein
- currently implemented for darwin and linux
2015-12-02'e' displays environment of current processMichael Klein
- uses sysctl(KERN_PROCARGS2) on *BSD - doesn't work on Linux yet