summaryrefslogtreecommitdiff
path: root/lib
Commit message (Expand)AuthorAgeFilesLines
* Fix setprogname() emulation on systems without it.Todd C. Miller2021-01-151-4/+4
* Add setprogname(3) for those without it.Todd C. Miller2021-01-061-2/+19
* Move openat() emulation to lib/util and at unlinkat() emulation.Todd C. Miller2019-10-242-0/+127
* Check the return value of fcntl() when setting FD_CLOEXEC.Todd C. Miller2021-01-061-1/+4
* For sudo, only allow "sudo" or "sudoedit" as the program name.Todd C. Miller2021-01-062-2/+35
* Fix deregistration of a callback that is not at the head of the list.Todd C. Miller2020-12-301-4/+5
* Allow getentropy.c to compile when MAP_ANON is unavailable.Todd C. Miller2020-01-281-2/+18
* Remove multi-thread support from arc4random.Todd C. Miller2020-01-283-170/+48
* Backed out changeset 1371cff82ebdTodd C. Miller2020-01-282-12/+4
* Fix compilation on IRIX; Bug #915Todd C. Miller2020-01-272-4/+12
* Fix compilation on systems with SIGRTMIN/SIGRTMAX but not _SC_RTSIG_MAX.Todd C. Miller2019-12-252-0/+12
* Add runas_check_shell flag to require a runas user to have a valid shell.Todd C. Miller2019-12-092-0/+150
* Avoid invalid read when minval > maxvalTodd C. Miller2019-10-241-2/+6
* Add depend target to all Makefile.in files.Todd C. Miller2019-10-212-0/+10
* Set resource limits in the sudo process to unlimited.Todd C. Miller2019-10-211-2/+6
* Rename sudo_strtoid() to sudo_strtoidx() and add simplified sudo_strtoid()Todd C. Miller2019-10-205-11/+27
* Enable security auditing malloc options for "make check".Todd C. Miller2019-10-171-0/+2
* Inclue sudo_util.h to get sudo_strtonum() prototype.Todd C. Miller2019-10-161-0/+1
* strtonum -> sudo_strtonumTodd C. Miller2019-10-161-1/+1
* Make sure we don't go past the end of the string when out of range.Todd C. Miller2019-10-161-10/+10
* Fix stronum() regress test and the errno value for out of range numbers.Todd C. Miller2019-10-162-3/+5
* Split atofoo.c regress into multiple tests.Todd C. Miller2019-10-165-130/+377
* Use sudo_strtonum() explicitly instead of via a macro.Todd C. Miller2019-10-146-9/+13
* Always use our own strtonum and implement sudo_strtoid in terms of it.Todd C. Miller2019-10-144-158/+81
* Add sudo_strtoid() tests for -1 and range errors.Todd C. Miller2019-10-101-10/+28
* Treat an ID of -1 as invalid since that means "no change".Todd C. Miller2019-10-101-47/+53
* _rs_random_buf is currently unusedTodd C. Miller2019-09-271-0/+2
* Better error message when debug log file cannot be opened.Todd C. Miller2019-09-211-7/+10
* Fix sorting of the time-based event queue.Todd C. Miller2019-09-131-1/+1
* Support default base in got_exit, got_break, loopexit, loopbreak, loopcontinueTodd C. Miller2019-09-131-0/+28
* sys_signame on macOS contains lower-cases namesTodd C. Miller2019-08-192-1/+9
* Add regress tests for str2sig() and sig2str().Todd C. Miller2019-08-192-1/+333
* SIGIOT and SIGABRT are aliases on BSD systems.Todd C. Miller2019-08-191-66/+66
* Fix handling of real-time signals.Todd C. Miller2019-08-192-13/+39
* Store signal name, not number in I/O log timing file.Todd C. Miller2019-08-052-0/+160
* Link util functions being tested directly with the test harness.Todd C. Miller2019-07-261-10/+10
* Add ssizeof macro that returns ssize_t.Todd C. Miller2019-06-254-7/+7
* libsudo_util depends on LT_DEP_LIBS even when building a static libTodd C. Miller2019-06-101-1/+1
* Solaris getentropy() requires that sys/random.h be included.Todd C. Miller2019-06-101-0/+3
* It is safe to assume _POSIX_VDISABLE is defined.Todd C. Miller2019-05-161-8/+0
* Add SPDX-License-Identifier to files.Todd C. Miller2019-04-2974-4/+157
* FreeBSD's /dev/fd only contains fds 0-2 unless fdescfs is mounted.Todd C. Miller2019-04-261-2/+2
* Add a proper getdelim(3) replacement and use it instead of getline(3).Todd C. Miller2019-04-084-62/+216
* Fix the counting of supplementary groups on AIX.Todd C. Miller2019-03-181-0/+1
* Ignore EOVERFLOW from pstat_getproc(), it is not a fatal error.Todd C. Miller2019-03-061-1/+6
* Only export sudo_arc4random_uniform() if arc4random_uniform() is missing.Todd C. Miller2019-02-181-1/+0
* Quiet a warning on gcc 8Todd C. Miller2019-02-181-3/+11
* include stddef.h to make sure we get NULLTodd C. Miller2019-02-041-0/+1
* Minor snprintf() usage tweaks:Todd C. Miller2019-01-202-6/+6
* Fix the default nofiles and stack hard limits.Todd C. Miller2019-01-071-9/+2