summaryrefslogtreecommitdiff
path: root/lib
Commit message (Expand)AuthorAgeFilesLines
* iolog_gets: change size parameter to int to match fgets/gzgetsTodd C. Miller2023-05-051-5/+5
* Back out last change, len must be int, not size_t, for %.*s.Todd C. Miller2023-05-031-2/+2
* Prefer size_t over int, as casting can take extra instructionsRose2023-05-032-3/+3
* Add adminconfdir and --enable-adminconf to set it.Todd C. Miller2023-05-022-1/+3
* Convert config file paths to colon-separated path list.Todd C. Miller2023-05-024-44/+112
* Plug memory leaks in store_sudo_test found by LSAN.Todd C. Miller2023-04-251-0/+2
* get_user_info: call sudo_get_ttysize() even if no /dev/ttyTodd C. Miller2023-04-171-1/+1
* Add an fd argument to sudo_get_ttysize() instead of always using stderr.Todd C. Miller2023-04-162-4/+11
* Check whether stderr is a tty before trying TIOCGWINSZ.Todd C. Miller2023-04-161-5/+6
* Correct a comment.Todd C. Miller2023-03-232-2/+2
* Remove portable getcwd.c, nothing uses it anymore.Todd C. Miller2023-03-162-250/+0
* nanosleep: clear remainder on successful completionTodd C. Miller2023-03-151-16/+25
* Add lib dependencies for fuzzer and test targets.Todd C. Miller2023-03-152-17/+19
* eventlog_free: free peeraddrTodd C. Miller2023-03-151-0/+1
* Fix static compilation.Todd C. Miller2023-03-141-5/+5
* Add tests for JSON and sudo-style log output.Todd C. Miller2023-03-1316-13/+783
* Add support for parsing all fields of struct eventlog.Todd C. Miller2023-03-142-0/+113
* Add missing definition of $(SED).Todd C. Miller2023-03-131-0/+1
* Move JSON log parsing from libsudo_iolog.la to libsudo_eventlog.laTodd C. Miller2023-03-1312-960/+1015
* Add missing " ; " separator between environment variables and command.Todd C. Miller2023-03-131-0/+1
* Pass closure to callback, not the callback pointer itself.Todd C. Miller2023-03-101-2/+2
* fix typo in uninstall targetTodd C. Miller2023-03-081-1/+1
* fix command error for lib/util/Makefile.inbin-ly2023-03-091-1/+1
* Add tests for SHA2 digest support.Todd C. Miller2023-03-072-14/+1221
* Add missing include of errno.h.Todd C. Miller2023-02-231-0/+1
* sudo_lbuf_expand: check for overflow when rounding to the nearest power of 2.Todd C. Miller2023-02-231-0/+8
* Replace LIBMD with LIBCRYPTO display crypto/tls libs in summary.Todd C. Miller2023-02-221-2/+2
* Run the editor in its own process group.Todd C. Miller2023-02-213-1/+178
* Add checks for realpath(3) and a version from NetBSD for those without it.Todd C. Miller2023-02-122-2/+206
* Handle "locale -a" returning both C.UTF-8 and C.utf8.Todd C. Miller2023-02-153-9/+9
* Add some missing files to the clean and distclean targets.Todd C. Miller2023-02-151-2/+3
* Add eventlog_mail() to send a log message via mail.Todd C. Miller2023-02-091-3/+47
* send_mail: pass a single string instead of using varargsTodd C. Miller2023-02-091-7/+4
* Add debug tracing to tcsetattr_nobg().Todd C. Miller2023-02-021-1/+2
* Merge pull request #230 from trackers-lover/mainTodd C. Miller2023-01-291-8/+8
|\
| * Modify return value parameterbianguangze@uniontech.com2023-01-291-8/+8
| * Return value does not matchtrackers-love2023-01-171-8/+8
* | Add tests for escaped digits.Todd C. Miller2023-01-231-0/+4
* | check_pattern: handle escaped digits since GNU libc accepts them.Todd C. Miller2023-01-231-10/+39
* | Add eventlog_store_sudo() and use it in sudoreplay.Todd C. Miller2023-01-221-57/+78
* | check_pattern: accept a backslash before the numeric bound like glibc.Todd C. Miller2023-01-191-3/+9
* | Escape control characters in log messages and "sudoreplay -l" output.Todd C. Miller2023-01-184-188/+168
|/
* Check for errors when removing the temp directory.Todd C. Miller2023-01-121-0/+2
* iolog_mkdtemp: fix pasto in last commitTodd C. Miller2023-01-121-1/+1
* In SHA256Pad and SHA512Pad use 511 and 1023 respectively for bitwise AND.Todd C. Miller2023-01-091-2/+2
* sudo_lbuf_print: no longer need to check for lbuf->len > 0.Todd C. Miller2023-01-091-6/+4
* Increase minimum allocation size from 256 to 1024 bytes.Todd C. Miller2023-01-091-2/+2
* sudo_lbuf_expand: don't allocate less than 256 bytes at a time.Todd C. Miller2023-01-041-1/+3
* sudo_lbuf_expand: round nearest power of two instead of multiple of 256.Todd C. Miller2023-01-031-3/+2
* sudo_lbuf_expand: check for possible integer overflowTodd C. Miller2023-01-031-9/+17