[sudo-commits] sudo changeset 14745:5e6c6a08aded

Todd C. Miller Todd.Miller at sudo.ws
Mon May 8 19:17:12 MDT 2023


changeset:	14745:5e6c6a08aded in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/5e6c6a08aded
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon May 08 17:04:38 2023 -0600

Log Message:
	Move sudoers search path to struct sudoers_parser_config.

	That way we can avoid passing it to init_parser() directly.
	We still need sudoers_search_path to be shared between the lexer
	and the parser.

diffstat:

 plugins/sudoers/cvtsudoers.c                |   2 +-
 plugins/sudoers/file.c                      |   6 +++---
 plugins/sudoers/gram.c                      |  28 ++++++++++++++--------------
 plugins/sudoers/gram.y                      |  28 ++++++++++++++--------------
 plugins/sudoers/parse.h                     |   4 +++-
 plugins/sudoers/policy.c                    |   8 +-------
 plugins/sudoers/regress/fuzz/fuzz_sudoers.c |   2 +-
 plugins/sudoers/sudoers.h                   |   1 -
 plugins/sudoers/testsudoers.c               |   2 +-
 plugins/sudoers/visudo.c                    |   7 ++++---
 10 files changed, 42 insertions(+), 46 deletions(-)



More information about the sudo-commits mailing list