[sudo-commits] sudo changeset 9908:97036b819d58

Todd C. Miller Todd.Miller at courtesan.com
Thu Feb 19 20:47:20 MST 2015


changeset:	9908:97036b819d58 in /media/repos/sudo
details:	http://www.sudo.ws/repos/sudo/rev/97036b819d58
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Feb 19 20:28:02 2015 -0700

Log Message:
	Avoid using HOST_NAME_MAX directly and use sysconf(_SC_HOST_NAME_MAX)
	instead.

diffstat:

 MANIFEST                      |   1 +
 config.h.in                   |   8 -----
 configure                     |  31 --------------------
 configure.ac                  |   8 +----
 include/sudo_compat.h         |   8 -----
 include/sudo_util.h           |   4 ++
 lib/util/Makefile.in          |   8 ++++-
 lib/util/gethostname.c        |  64 +++++++++++++++++++++++++++++++++++++++++++
 lib/util/util.exp.in          |   1 +
 plugins/sudoers/match.c       |  49 ++++++++++++++++++++++----------
 plugins/sudoers/testsudoers.c |   5 +--
 plugins/sudoers/visudo.c      |   7 +---
 src/sudo.c                    |  10 ++----
 13 files changed, 117 insertions(+), 87 deletions(-)


More information about the sudo-commits mailing list