[sudo-commits] sudo changeset 8525:f4807d46f504

Todd C. Miller Todd.Miller at courtesan.com
Tue Dec 4 10:42:06 EST 2012


changeset:	8525:f4807d46f504 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/f4807d46f504
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Dec 04 10:40:47 2012 -0500

Log Message:
	Don't include <sys/param.h>.  We only needed it for MAXPATHLEN,
	MAXHOSTNAMELEN and the MIN/MAX macros.  We now use PATH_MAX and
	HOST_NAME_MAX throughout without falling back on MAXPATHLEN or
	MAXHOSTNAMELEN and define our own MIN/MAX macros as needed.

diffstat:

 common/alloc.c                              |    1 -
 common/atobool.c                            |    1 -
 common/fileops.c                            |    1 -
 common/fmt_string.c                         |    1 -
 common/lbuf.c                               |    1 -
 common/secure_path.c                        |    1 -
 common/sudo_conf.c                          |    1 -
 common/sudo_debug.c                         |    1 -
 common/term.c                               |    1 -
 compat/closefrom.c                          |    1 -
 compat/getcwd.c                             |    2 +-
 compat/glob.c                               |    2 +-
 compat/snprintf.c                           |    1 -
 include/missing.h                           |   22 +--
 plugins/sample/sample_plugin.c              |    1 -
 plugins/sample_group/getgrent.c             |    1 -
 plugins/sample_group/plugin_test.c          |    1 -
 plugins/sample_group/sample_group.c         |    1 -
 plugins/sudoers/alias.c                     |    1 -
 plugins/sudoers/auth/afs.c                  |    1 -
 plugins/sudoers/auth/aix_auth.c             |    1 -
 plugins/sudoers/auth/bsdauth.c              |    1 -
 plugins/sudoers/auth/dce.c                  |    1 -
 plugins/sudoers/auth/fwtk.c                 |    1 -
 plugins/sudoers/auth/kerb5.c                |    1 -
 plugins/sudoers/auth/pam.c                  |    1 -
 plugins/sudoers/auth/passwd.c               |    1 -
 plugins/sudoers/auth/rfc1938.c              |    1 -
 plugins/sudoers/auth/secureware.c           |    1 -
 plugins/sudoers/auth/securid5.c             |    1 -
 plugins/sudoers/auth/sia.c                  |    1 -
 plugins/sudoers/auth/sudo_auth.c            |    1 -
 plugins/sudoers/boottime.c                  |    1 -
 plugins/sudoers/check.c                     |    1 -
 plugins/sudoers/defaults.c                  |    1 -
 plugins/sudoers/env.c                       |    1 -
 plugins/sudoers/find_path.c                 |    1 -
 plugins/sudoers/getspwuid.c                 |    1 -
 plugins/sudoers/goodpath.c                  |    1 -
 plugins/sudoers/gram.c                      |  185 +++++++++++++--------------
 plugins/sudoers/gram.y                      |    1 -
 plugins/sudoers/group_plugin.c              |    1 -
 plugins/sudoers/interfaces.c                |    1 -
 plugins/sudoers/iolog.c                     |    1 -
 plugins/sudoers/ldap.c                      |    2 -
 plugins/sudoers/logging.c                   |    1 -
 plugins/sudoers/match.c                     |    2 -
 plugins/sudoers/match_addr.c                |    1 -
 plugins/sudoers/parse.c                     |    1 -
 plugins/sudoers/policy.c                    |    1 -
 plugins/sudoers/prompt.c                    |    1 -
 plugins/sudoers/pwutil.c                    |    1 -
 plugins/sudoers/pwutil_impl.c               |    1 -
 plugins/sudoers/redblack.c                  |    1 -
 plugins/sudoers/regress/parser/check_addr.c |    1 -
 plugins/sudoers/set_perms.c                 |    1 -
 plugins/sudoers/sssd.c                      |    1 -
 plugins/sudoers/sudo_nss.c                  |    1 -
 plugins/sudoers/sudoers.c                   |    1 -
 plugins/sudoers/sudoreplay.c                |    1 -
 plugins/sudoers/testsudoers.c               |    2 -
 plugins/sudoers/timestamp.c                 |    1 -
 plugins/sudoers/toke.c                      |  137 ++++++++++----------
 plugins/sudoers/toke.l                      |    1 -
 plugins/sudoers/toke_util.c                 |    1 -
 plugins/sudoers/tsgetgrpw.c                 |    1 -
 plugins/sudoers/visudo.c                    |    2 -
 plugins/system_group/system_group.c         |    1 -
 src/conversation.c                          |    1 -
 src/exec.c                                  |    1 -
 src/exec_common.c                           |    1 -
 src/exec_pty.c                              |    1 -
 src/get_pty.c                               |    1 -
 src/load_plugins.c                          |    1 -
 src/net_ifs.c                               |    1 -
 src/parse_args.c                            |    1 -
 src/sudo.c                                  |    1 -
 src/sudo_edit.c                             |    1 -
 src/tgetpass.c                              |    1 -
 src/ttyname.c                               |    3 +-
 src/utmp.c                                  |    1 -
 81 files changed, 171 insertions(+), 259 deletions(-)


More information about the sudo-commits mailing list