Todd C. Miller
|
6c3d20cb41
|
Convert PVS-Studio comment to ANSI C.
|
2018-10-26 08:39:09 -06:00 |
|
Todd C. Miller
|
64e5d34c57
|
Add comments in .c files so PVS-Studio will check them.
|
2018-10-21 08:46:05 -06:00 |
|
Todd C. Miller
|
939585e906
|
tv_nsec can never be negative after timespecsub.
Found by PVS Studio
|
2018-10-17 06:21:48 -06:00 |
|
Todd C. Miller
|
6b76f9dbd3
|
Use a monotonic timer for the event subsystem.
|
2018-08-25 21:02:06 -06:00 |
|
Todd C. Miller
|
04d1f56d90
|
Use struct timespec, not struct timeval in the event subsystem.
Use ppoll() or pselect() if avaialble which use timespec.
|
2018-08-25 21:02:05 -06:00 |
|
Todd C. Miller
|
48fba3c2cc
|
update my email to Todd.Miller@sudo.ws
|
2017-12-03 17:53:40 -07:00 |
|
Todd C. Miller
|
20a0fa1284
|
Fix potential memory leak on reallocarray() error. Coverity CID 169639
|
2017-05-23 13:26:54 -06:00 |
|
Todd C. Miller
|
f2f5c2949c
|
Add line number to debug log for memory allocation errors.
|
2015-07-14 14:47:12 -06:00 |
|
Todd C. Miller
|
0b241088b3
|
There's no need to conditionalize the #include <unistd.h>, we require
a POSIX system.
|
2015-07-02 09:08:28 -06:00 |
|
Todd C. Miller
|
4a07b472f0
|
Only include stddef.h where it is needed.
|
2015-06-20 05:34:35 -06:00 |
|
Todd C. Miller
|
dc883f2454
|
We require ANSI C so stop using the obsolete STDC_HEADERS.
|
2015-06-19 14:29:27 -06:00 |
|
Todd C. Miller
|
c0fa0e248d
|
Add debugging output on memory alloc failure.
Add missing checks in event_select.c for reallocarray() failure.
|
2015-06-05 13:18:48 -06:00 |
|
Todd C. Miller
|
6741fb5378
|
Use non-exiting allocators.
|
2015-05-20 10:39:08 -06:00 |
|
Todd C. Miller
|
59ab26dbcc
|
Go back to a 2 args debug_decl and just use the "default" instance,
now renamed "active".
|
2015-02-01 08:24:49 -07:00 |
|
Todd C. Miller
|
866cfc4fc3
|
Add support for multiple Debug lines per program. Callers may
register arbitrary debug facilities or use built-in defaults. We
now use separate Debug statements for plugins and programs.
|
2014-10-22 13:23:05 -06:00 |
|
Todd C. Miller
|
e9370718f9
|
Add some internal convenience functions.
|
2014-08-29 09:44:08 -06:00 |
|
Todd C. Miller
|
47835ff289
|
Rename missing.h -> sudo_compat.h
|
2014-07-22 14:25:16 -06:00 |
|
Todd C. Miller
|
3687b665cb
|
Rename fatal.h -> sudo_fatal.h
|
2014-07-21 14:40:18 -06:00 |
|
Todd C. Miller
|
36a5767e3e
|
efree -> sudo_efree for consistency
|
2014-07-10 15:35:04 -06:00 |
|
Todd C. Miller
|
d6948f5a4a
|
Fix regexp damage when renaming erecalloc() -> sudo_erecalloc()
|
2014-06-27 11:48:07 -06:00 |
|
Todd C. Miller
|
2d61d38c23
|
Add sudo_ prefix to alloc.c functions and rename alloc.h -> sudo_alloc.h
|
2014-06-27 10:48:31 -06:00 |
|
Todd C. Miller
|
4d37a4a162
|
Top level directory reorg
Move src/po -> po
Combine common and compat -> lib/util
Move zlib -> lib/zlib
|
2014-06-26 15:51:02 -06:00 |
|