[sudo-commits] sudo changeset 9728:62fb1102e1e2

Todd C. Miller Todd.Miller at courtesan.com
Wed Oct 22 13:54:42 MDT 2014


changeset:	9728:62fb1102e1e2 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/62fb1102e1e2
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Oct 22 13:20:32 2014 -0600

Log Message:
	Change how sudo.conf is parsed.  We now do a quick parse and then
	set the values after the entire file has been parsed.  This lets
	us init the debug system earlier.  Plugin-specific debug flags are
	now stored in struct plugin_info and struct plugin_container and
	passed to the plugin via one or more debug_flags settings.

diffstat:

 MANIFEST                                |    2 +
 doc/sudo.conf.cat                       |   13 +-
 doc/sudo.conf.man.in                    |   30 +-
 doc/sudo.conf.mdoc.in                   |   30 +-
 doc/sudo_plugin.cat                     |   29 +-
 doc/sudo_plugin.man.in                  |   34 +-
 doc/sudo_plugin.mdoc.in                 |   34 +-
 include/sudo_conf.h                     |   17 +-
 include/sudo_debug.h                    |   11 +
 lib/util/Makefile.in                    |   52 +-
 lib/util/regress/sudo_conf/conf_test.c  |   14 +-
 lib/util/regress/sudo_conf/test7.in     |    4 +
 lib/util/regress/sudo_conf/test7.out.ok |    7 +
 lib/util/sudo_conf.c                    |  529 +++++++++++++++++++++----------
 lib/util/sudo_debug.c                   |    1 +
 lib/util/util.exp.in                    |    4 +-
 plugins/sudoers/Makefile.in             |  458 ++++++++++++++-------------
 plugins/sudoers/solaris_audit.c         |    1 -
 plugins/sudoers/sssd.c                  |    1 -
 plugins/sudoers/sudoers.h               |    1 +
 src/hooks.c                             |    4 +-
 src/load_plugins.c                      |   10 +-
 src/parse_args.c                        |   50 +-
 src/sudo.c                              |   35 +-
 src/sudo_plugin_int.h                   |    1 +
 25 files changed, 859 insertions(+), 513 deletions(-)


More information about the sudo-commits mailing list