[sudo-commits] sudo changeset 9900:c3058a6cca86

Todd C. Miller Todd.Miller at courtesan.com
Thu Feb 19 10:13:37 MST 2015


changeset:	9900:c3058a6cca86 in /media/repos/sudo
details:	http://www.sudo.ws/repos/sudo/rev/c3058a6cca86
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Feb 19 09:59:25 2015 -0700

Log Message:
	Almost no systems actually define OPEN_MAX since it is dynamic on
	modern OSes.  If sysconf(_SC_OPEN_MAX) ever fails, fall back on
	_POSIX_OPEN_MAX instead.  We can assume modern systems have sysconf().
	Also remove checks for strrchr() and strtoll() for which the HAVE_*
	defines are no longer used.

diffstat:

 config.h.in                   |   7 -------
 configure                     |  17 -----------------
 configure.ac                  |   4 ++--
 include/sudo_compat.h         |   4 ----
 lib/util/closefrom.c          |  14 +++++++-------
 lib/util/setgroups.c          |   2 --
 plugins/sudoers/pwutil_impl.c |   4 +---
 src/sudo.c                    |   2 --
 8 files changed, 10 insertions(+), 44 deletions(-)


More information about the sudo-commits mailing list