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. | ||||
* | Get rid of sudoersdir and just use sysconfdir. | Todd C. Miller | 2023-02-02 | 1 | -2/+0 |
| | | | | There is no need for sudoersdir when it is always just set to sysconfdir. | ||||
* | Only build ChangeLog from a repo checkout, not a release tarball. | Todd C. Miller | 2022-12-08 | 1 | -16/+21 |
| | | | | | The CODEOWNERS file is not present in the release tarball so we can use that when determining what is (or is not) a repo checkout. | ||||
* | Only regenerate ChangeLog if there have been changes. | Todd C. Miller | 2022-12-08 | 1 | -8/+15 |
| | | | | | Also check that "hg --version" or "git --version" works before using hg or git. Bug #1043. | ||||
* | Pass the list of files to include in the tarball on stdin. | Todd C. Miller | 2022-11-25 | 1 | -5/+4 |
| | | | | This avoids any limit on the size of argv. | ||||
* | The name of the C locale w/ UTF-8 support is not always C.UTF-8. | Todd C. Miller | 2022-11-11 | 1 | -2/+1 |
| | | | | | | Use a pattern to find it (if present) and use that value instead of hard-coding C.UTF-8. This works around a leak sanitizer crash on certain inputs. | ||||
* | Build the sample plugin but do not install it by default. | Todd C. Miller | 2022-10-21 | 1 | -8/+8 |
| | | | | We no longer install the sample approval plugin. | ||||
* | Use "hg log --template" instead of "hg log --style". | Todd C. Miller | 2022-10-01 | 1 | -1/+1 |
| | |||||
* | Use $(GREP) and $(EGREP) variables in Makefile.in files. | Todd C. Miller | 2022-09-12 | 1 | -2/+4 |
| | |||||
* | Fix incorrect makefile target name | a1346054 | 2022-09-12 | 1 | -1/+1 |
| | |||||
* | Use `grep -E` instead of `egrep` | a1346054 | 2022-09-12 | 1 | -2/+2 |
| | |||||
* | Add check-verbose Makefile target that runs tests in verbose mode. | Todd C. Miller | 2022-03-02 | 1 | -2/+2 |
| | |||||
* | Add a background image for the macOS installer. | Todd C. Miller | 2021-11-19 | 1 | -0/+1 |
| | |||||
* | Rename "doc" directory to "docs" for better GitHub compatibility. | Todd C. Miller | 2021-11-10 | 1 | -1/+1 |
| | |||||
* | Add separate convenience lib for protobuf-c | Todd C. Miller | 2021-08-09 | 1 | -7/+8 |
| | | | | We need to use it for sudo <-> sudo_intercept.so communication. | ||||
* | 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 | -2/+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 | -1/+1 |
| | | | | | | 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. | ||||
* | Do not overwrite existing ChangeLog file if there is no hg/git dir. | Todd C. Miller | 2021-02-24 | 1 | -1/+1 |
| | | | | We don't want "make install" from a source tarball to nuke the ChangeLog. | ||||
* | Add clean rules to .PHONY target. | Todd C. Miller | 2021-02-19 | 1 | -1/+2 |
| | |||||
* | Add install-fuzz Makefile target to install the fuzzers and seed corpus. | Todd C. Miller | 2021-02-18 | 1 | -1/+1 |
| | | | | | 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 | -1/+1 |
| | |||||
* | Add stub library that just feeds files to the fuzzing target. | Todd C. Miller | 2021-02-07 | 1 | -2/+4 |
| | | | | This will allow the fuzzers to be run as part of "make check". | ||||
* | Remove the --force option from the cppcheck args, it causes errors. | Todd C. Miller | 2021-01-06 | 1 | -1/+1 |
| | |||||
* | Minor fixes pointed out by cppcheck. | Todd C. Miller | 2021-01-02 | 1 | -1/+1 |
| | | | | Also add compareBoolExpressionWithInt to suppression list. | ||||
* | Refactor eventlog code into a library | Todd C. Miller | 2020-10-26 | 1 | -6/+7 |
| | |||||
* | Remove obsolete mansrcdir variable, add _SRC suffix to LOGSRV and LOGSRVD | Todd C. Miller | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Fix some warnings from pvs-studio | Todd C. Miller | 2020-08-12 | 1 | -1/+1 |
| | |||||
* | Plumb in codespell with a "make spell" target. | Todd C. Miller | 2020-05-07 | 1 | -0/+3 |
| | |||||
* | Use the proper python version in the libpython dependency on Debian. | Todd C. Miller | 2020-05-05 | 1 | -0/+4 |
| | | | | | The configure script already detects the python version, we just need to use it. | ||||
* | Split sudo_logsrvd and the python plugin into their own packages. | Todd C. Miller | 2020-04-07 | 1 | -23/+23 |
| | |||||
* | Add --disable-log-server and --disable-log-client configure options. | Todd C. Miller | 2020-02-26 | 1 | -3/+4 |
| | | | | | These can be used to optionally disable building sudo_logsrvd and support for remote I/O logging in the sudoers plugin respectively. | ||||
* | Avoid changing directory when generating the ChangeLog file. | Todd C. Miller | 2020-02-10 | 1 | -7/+7 |
| | | | | Instead, pass the repo path to either hg or log2cl.pl | ||||
* | Makefile.in: fix install target for out of source build | Robert Manner | 2020-02-10 | 1 | -1/+1 |
| | | | | | | | | | The scriptdir contained a path relative to where the target was started. The scripts are called like "$scriptdir/script_name" which is fine with relative path as well, until the current directory is not changed. But things like cd $srcdir && $scriptdir/script_name fails (if building in separate build directory). | ||||
* | Move some scripts from the top level src dir to a scripts dir. | Todd C. Miller | 2020-02-06 | 1 | -5/+6 |
| | |||||
* | Add sample approval plugin that simply tests for "business hours" | Todd C. Miller | 2020-02-06 | 1 | -2/+2 |
| | |||||
* | Example audit plugin that writes JSON output to a log file. | Todd C. Miller | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | Add abs_top_srcdir and abs_top_builddir and use them. | Todd C. Miller | 2020-01-20 | 1 | -6/+10 |
| | | | | | Configure provides absolution versions of srcdir, builddir, top_srcdir and top_builddir. We can use these instead of calling pwd. | ||||
* | In update-pot match *.c not *c. | Todd C. Miller | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | Add check for up to date def_data.[ch] in check-dist target. | Todd C. Miller | 2019-12-26 | 1 | -1/+4 |
| | |||||
* | Move init.d and sudo.pp to the etc dir. | Todd C. Miller | 2019-12-23 | 1 | -4/+4 |
| | |||||
* | Makefile.in, configure.ac: add python plugin build | Robert Manner | 2019-10-22 | 1 | -1/+3 |
| | |||||
* | Makefile.in: fix calling log2cl when doing out of source build | Robert Manner | 2019-11-21 | 1 | -1/+1 |
| | | | | | | | If doing build out of source and not calling configure by absolute path, $(top_srcdir) variable will contain a path relative to the directory we stand in. So, after changing the current directory "cd $(srcdir)", this path will point to somewhere else making the install step fail. | ||||
* | Remove uncrustify.files in clean target | Todd C. Miller | 2019-12-14 | 1 | -1/+1 |
| | |||||
* | Add uncrustify config file for new sudo code style. | Todd C. Miller | 2019-12-13 | 1 | -2/+11 |
| | |||||
* | Add some missing files to "make clean" and "make distclean" | Todd C. Miller | 2019-11-25 | 1 | -2/+3 |
| | |||||
* | Move protobuf-c.c, log_server.proto, log_server.pb-c.[ch] to lib/logsrv | Todd C. Miller | 2019-11-15 | 1 | -5/+8 |
| | |||||
* | Fix ChangeLog generation on a branch. | Todd C. Miller | 2019-10-28 | 1 | -1/+1 |
| | |||||
* | Mark logsrvd and sendlog strings for translation in the sudoers domain | Todd C. Miller | 2019-10-24 | 1 | -2/+2 |
| | |||||
* | Enable sudo_logsrvd.conf settings. | Todd C. Miller | 2019-10-24 | 1 | -1/+1 |
| |