| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add adminconfdir and --enable-adminconf to set it. | Todd C. Miller | 2023-05-02 | 1 | -1/+2 |
| | | | | | | | Configuration paths in sudo are now a colon-separated list of files with the adminconfdir instance first (if enabled), followed by a sysconfdir instance. | ||||
| * | Keep group file open until the call to myendgrent(). | Todd C. Miller | 2022-11-22 | 1 | -2/+3 |
| | | | | | This restores the previous behavior. | ||||
| * | Eliminate a few harmless dead stores. | Todd C. Miller | 2022-11-22 | 1 | -1/+1 |
| | | | | | Quiets warnings from Infer. | ||||
| * | Refactor code to open passwd/group file and add setpassent/setgroupent. | Todd C. Miller | 2022-11-22 | 1 | -25/+30 |
| | | | | | | | This makes the "stayopen" semantics match the system passwd/group functions. The getpwent/getgrent functions now open the database if it is not already open. | ||||
| * | Fix typos found by codespell 2.2.1. | Todd C. Miller | 2022-09-28 | 1 | -1/+1 |
| | | |||||
| * | Rename SSP_(C|LD)FLAGS -> HARDENING_(C|LD)FLAGS | Todd C. Miller | 2022-04-01 | 1 | -6/+6 |
| | | |||||
| * | Add check-verbose Makefile target that runs tests in verbose mode. | Todd C. Miller | 2022-03-02 | 1 | -0/+2 |
| | | |||||
| * | Move autoconf auxiliary files to the scripts directory. | Todd C. Miller | 2021-04-06 | 1 | -1/+1 |
| | | |||||
| * | Add a new "fuzz" target that executes the fuzzers for 8192 runs each. | Todd C. Miller | 2021-03-18 | 1 | -0/+2 |
| | | | | | To run indefinately, set FUZZ_RUNS=-1, e.g. "make FUZZ_RUNS=-1 fuzz" | ||||
| * | Rename "fuzz" makefile target to "check-fuzzer". | Todd C. Miller | 2021-03-18 | 1 | -2/+2 |
| | | | | | | | It's purpose is to run the fuzzers are part of a normal "make check" to avoid bit rot, not to perform a fuzzer run. The fuzz_logsrvd_conf fuzzer was not wired up to "make check" previously. | ||||
| * | Add clean rules to .PHONY target. | Todd C. Miller | 2021-02-19 | 1 | -0/+2 |
| | | |||||
| * | Add install-fuzz Makefile target to install the fuzzers and seed corpus. | Todd C. Miller | 2021-02-18 | 1 | -0/+2 |
| | | | | | | The FUZZ_DESTDIR make variable needs to be set in the environment or on the command line. | ||||
| * | Add fuzz Makefile target and run fuzzer corpus in make check. | Todd C. Miller | 2021-02-08 | 1 | -0/+2 |
| | | |||||
| * | Remove the --force option from the cppcheck args, it causes errors. | Todd C. Miller | 2021-01-06 | 1 | -1/+1 |
| | | |||||
| * | Check the return value of fcntl() when setting FD_CLOEXEC. | Todd C. Miller | 2021-01-06 | 1 | -4/+14 |
| | | | | | | This should never fail unless the fd is invalid. Problem reported by Matthias Gerstner of SUSE. | ||||
| * | Minor fixes pointed out by cppcheck. | Todd C. Miller | 2021-01-02 | 2 | -2/+2 |
| | | | | | Also add compareBoolExpressionWithInt to suppression list. | ||||
| * | Apply Google inclusive language guidelines. | Todd C. Miller | 2020-10-30 | 1 | -1/+1 |
| | | | | | Also replace backwards with backward. | ||||
| * | Rename __dso_public -> sudo_dso_public and move to config.h. | Todd C. Miller | 2020-08-12 | 2 | -2/+2 |
| | | |||||
| * | Include string.h unconditionally and only use strings.h for strn?casecmp() | Todd C. Miller | 2020-05-18 | 2 | -9/+2 |
| | | | | | | In the pre-POSIX days BSD had strings.h, not string.h. Now strings.h is only used for non-ANSI string functions. | ||||
| * | We no longer need to include headers we don't use for sudo*.h files. | Todd C. Miller | 2020-05-18 | 3 | -9/+0 |
| | | | | | | | Previously we needed to include headers required by the various sudo*h files. Now those files are more self-sufficient and we should only include headers needed by code in the various .c files. | ||||
| * | Use EXIT_SUCCESS and EXIT_FAILURE more consistently. | Todd C. Miller | 2020-02-08 | 1 | -3/+3 |
| | | |||||
| * | Move some scripts from the top level src dir to a scripts dir. | Todd C. Miller | 2020-02-06 | 1 | -2/+3 |
| | | |||||
| * | Add abs_top_srcdir and abs_top_builddir and use them. | Todd C. Miller | 2020-01-20 | 1 | -4/+7 |
| | | | | | | Configure provides absolution versions of srcdir, builddir, top_srcdir and top_builddir. We can use these instead of calling pwd. | ||||
| * | Using "libtool --clean" to remove regular files is slow. | Todd C. Miller | 2020-01-18 | 1 | -2/+2 |
| | | | | | We only need to use libtool's clean mode to remove files created by libtool. | ||||
| * | Sync with argument handling in group_plugin.c | Todd C. Miller | 2019-11-19 | 1 | -5/+7 |
| | | |||||
| * | We haven't needed -I$(top_srcdir) for a long time. | Todd C. Miller | 2019-11-02 | 1 | -3/+3 |
| | | |||||
| * | Add depend target to all Makefile.in files. | Todd C. Miller | 2019-10-21 | 1 | -0/+5 |
| | | |||||
| * | Rename sudo_strtoid() to sudo_strtoidx() and add simplified sudo_strtoid() | Todd C. Miller | 2019-10-20 | 1 | -1/+1 |
| | | |||||
| * | Replace non-essential strncpy() calls. | Todd C. Miller | 2019-07-30 | 1 | -2/+4 |
| | | |||||
| * | Rename PLUGINDIR -> plugindir | Todd C. Miller | 2019-07-03 | 1 | -1/+1 |
| | | |||||
| * | Add SPDX-License-Identifier to files. | Todd C. Miller | 2019-04-29 | 4 | -0/+8 |
| | | |||||
| * | Convert PVS-Studio comment to ANSI C. | Todd C. Miller | 2018-10-26 | 3 | -6/+12 |
| | | |||||
| * | Fix some mangled text in the license block. | Todd C. Miller | 2018-10-26 | 1 | -1/+0 |
| | | |||||
| * | Pass --sourcetree-root to pvs-studio and don't check sudo_noexec.c. | Todd C. Miller | 2018-10-22 | 1 | -3/+3 |
| | | | | | | | Since we don't auto-generate dependencies for sudo_noexec.c we can't easily check it from outside the source tree. This is not a problem as it just contains stub functions. | ||||
| * | Add pvs-studio target and associated production rules. | Todd C. Miller | 2018-10-21 | 1 | -4/+36 |
| | | |||||
| * | Add comments in .c files so PVS-Studio will check them. | Todd C. Miller | 2018-10-21 | 3 | -0/+9 |
| | | |||||
| * | update my email to Todd.Miller@sudo.ws | Todd C. Miller | 2017-12-03 | 4 | -4/+4 |
| | | |||||
| * | Remove pointless subshells in targets that simply change the directory | Todd C. Miller | 2017-07-12 | 1 | -2/+2 |
| | | | | | | and execute a command. The command is already run in a shell so there is no need to execute a subshell in this case. | ||||
| * | Add ASAN_CFLAGS and ASAN_LDFLAGS and use -Wc prefix in ASAN_LDFLAGS | Todd C. Miller | 2016-11-15 | 1 | -4/+8 |
| | | | | | | to prevent libtool from strippign them out. Avoid using ASAN flags when building sudo_noexec.so. | ||||
| * | Only remove backup files as part of "make uninstall" when INSTALL_BACKUP | Todd C. Miller | 2016-07-08 | 1 | -1/+2 |
| | | | | | is set. | ||||
| * | Only keep backups of installed files on HP-UX where you cannot | Todd C. Miller | 2016-07-08 | 1 | -1/+2 |
| | | | | | unlink a shared library that is in use. | ||||
| * | Fold lines at 80 characters for the clean: target | Todd C. Miller | 2016-06-13 | 1 | -1/+2 |
| | | |||||
| * | Cast the return value of fcntl() to void when setting FD_CLOEXEC. | Todd C. Miller | 2016-05-05 | 1 | -3/+3 |
| | | | | | Coverity CID 104075, 104076, 104077. | ||||
| * | No need to have version macros for hooks, callbacks and the sudoers | Todd C. Miller | 2015-09-09 | 2 | -4/+4 |
| | | | | | | | group plugin. We can just use the main sudo API macros. The sudoers group plugin macros are preserved for source compatibility but are not documented. | ||||
| * | There's no need to conditionalize the #include <unistd.h>, we require | Todd C. Miller | 2015-07-02 | 1 | -3/+1 |
| | | | | | a POSIX system. | ||||
| * | Only include stddef.h where it is needed. | Todd C. Miller | 2015-06-20 | 3 | -3/+0 |
| | | |||||
| * | We require ANSI C so stop using the obsolete STDC_HEADERS. | Todd C. Miller | 2015-06-19 | 2 | -16/+4 |
| | | |||||
| * | Use strtok_r() instead of strtok() | Todd C. Miller | 2015-06-19 | 2 | -3/+7 |
| | | |||||
| * | Remove obsolete memory.h include. | Todd C. Miller | 2015-06-18 | 2 | -6/+0 |
| | | |||||
| * | Allow "make LIBTOOL=/path/to/libtool" to work properly. | Todd C. Miller | 2015-06-18 | 1 | -8/+11 |
| | | |||||
