[sudo-commits] sudo changeset 14990:534d55781084

Todd C. Miller Todd.Miller at sudo.ws
Mon Aug 21 11:20:21 MDT 2023


changeset:	14990:534d55781084 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/534d55781084
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Aug 21 09:21:49 2023 -0600

Log Message:
	Make struct sudoers_context private to sudoers.c.

	We now pass a pointer to the context where necessary.  There are a
	few cases where we need to request the context from sudoers via
	sudoers_get_context() for the plugin API functions.  If the plugin
	API was able to pass around a closure pointer this would not be
	necessary.

diffstat:

 plugins/sudoers/audit.c                                   |   45 +-
 plugins/sudoers/auth/afs.c                                |    3 +-
 plugins/sudoers/auth/aix_auth.c                           |   17 +-
 plugins/sudoers/auth/bsdauth.c                            |   30 +-
 plugins/sudoers/auth/dce.c                                |    3 +-
 plugins/sudoers/auth/fwtk.c                               |    9 +-
 plugins/sudoers/auth/kerb5.c                              |   43 +-
 plugins/sudoers/auth/pam.c                                |  115 +-
 plugins/sudoers/auth/passwd.c                             |   14 +-
 plugins/sudoers/auth/rfc1938.c                            |    6 +-
 plugins/sudoers/auth/secureware.c                         |    9 +-
 plugins/sudoers/auth/securid5.c                           |    9 +-
 plugins/sudoers/auth/sia.c                                |   24 +-
 plugins/sudoers/auth/sudo_auth.c                          |   53 +-
 plugins/sudoers/auth/sudo_auth.h                          |   90 +-
 plugins/sudoers/callbacks.c                               |  158 +-
 plugins/sudoers/check.c                                   |   86 +-
 plugins/sudoers/check.h                                   |    9 +-
 plugins/sudoers/check_aliases.c                           |   12 +-
 plugins/sudoers/cvtsudoers.c                              |   26 +-
 plugins/sudoers/cvtsudoers.h                              |    4 +-
 plugins/sudoers/cvtsudoers_pwutil.c                       |    4 +-
 plugins/sudoers/defaults.c                                |  103 +-
 plugins/sudoers/defaults.h                                |    9 +-
 plugins/sudoers/display.c                                 |   68 +-
 plugins/sudoers/env.c                                     |   62 +-
 plugins/sudoers/file.c                                    |   17 +-
 plugins/sudoers/fmtsudoers.c                              |   10 +-
 plugins/sudoers/gram.c                                    |  585 +++++++------
 plugins/sudoers/gram.h                                    |    2 +-
 plugins/sudoers/gram.y                                    |   19 +-
 plugins/sudoers/group_plugin.c                            |    4 +-
 plugins/sudoers/iolog.c                                   |   46 +-
 plugins/sudoers/iolog_path_escapes.c                      |   42 +-
 plugins/sudoers/ldap.c                                    |   75 +-
 plugins/sudoers/locale.c                                  |    4 +-
 plugins/sudoers/logging.c                                 |  165 ++-
 plugins/sudoers/logging.h                                 |   29 +-
 plugins/sudoers/lookup.c                                  |  126 +-
 plugins/sudoers/match.c                                   |   57 +-
 plugins/sudoers/match_command.c                           |  303 +++---
 plugins/sudoers/parse.h                                   |   17 +-
 plugins/sudoers/policy.c                                  |  291 +++---
 plugins/sudoers/prompt.c                                  |   19 +-
 plugins/sudoers/pwutil.c                                  |   10 +-
 plugins/sudoers/pwutil.h                                  |    2 +-
 plugins/sudoers/pwutil_impl.c                             |   23 +-
 plugins/sudoers/regress/exptilde/check_exptilde.c         |    2 -
 plugins/sudoers/regress/fuzz/fuzz_policy.c                |  174 ++-
 plugins/sudoers/regress/fuzz/fuzz_stubs.c                 |    2 +-
 plugins/sudoers/regress/fuzz/fuzz_sudoers.c               |   53 +-
 plugins/sudoers/regress/fuzz/fuzz_sudoers_ldif.c          |    8 +-
 plugins/sudoers/regress/iolog_plugin/check_iolog_plugin.c |   32 +-
 plugins/sudoers/set_perms.c                               |  170 ++--
 plugins/sudoers/solaris_audit.c                           |   34 +-
 plugins/sudoers/solaris_audit.h                           |    5 +-
 plugins/sudoers/sssd.c                                    |   44 +-
 plugins/sudoers/stubs.c                                   |   28 +-
 plugins/sudoers/sudo_nss.h                                |   11 +-
 plugins/sudoers/sudoers.c                                 |  584 ++++++------
 plugins/sudoers/sudoers.h                                 |   61 +-
 plugins/sudoers/testsudoers.c                             |  137 +-
 plugins/sudoers/testsudoers_pwutil.h                      |    2 +-
 plugins/sudoers/timestamp.c                               |   91 +-
 plugins/sudoers/toke.c                                    |   28 +-
 plugins/sudoers/toke.h                                    |    4 +-
 plugins/sudoers/toke.l                                    |   28 +-
 plugins/sudoers/visudo.c                                  |   42 +-
 68 files changed, 2293 insertions(+), 2104 deletions(-)



More information about the sudo-commits mailing list