[sudo-commits] sudo changeset 9684:d6049e53e3e3

Todd C. Miller Todd.Miller at courtesan.com
Sun Oct 5 16:42:14 MDT 2014


changeset:	9684:d6049e53e3e3 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/d6049e53e3e3
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Sun Oct 05 16:41:52 2014 -0600

Log Message:
	Add sudo_warn_set_conversation() to specify a conversation function
	to use for warn/fatal.  If no conversation function is specified,
	the standard error will be used.  We now only need sudo_printf()
	for things that use the parser.

diffstat:

 MANIFEST                      |   2 +-
 include/sudo_fatal.h          |   5 +++
 lib/util/Makefile.in          |   6 +---
 lib/util/fatal.c              |  63 ++++++++++++++++++++++++++++++++----------
 lib/util/sudo_printf.c        |  62 ------------------------------------------
 lib/util/util.exp.in          |   4 +-
 plugins/sudoers/Makefile.in   |  13 ++++++--
 plugins/sudoers/sudo_printf.c |  62 ++++++++++++++++++++++++++++++++++++++++++
 plugins/sudoers/sudoers.c     |   1 +
 plugins/sudoers/sudoers.h     |   1 +
 src/conversation.c            |  26 +++++++++++++++++
 src/sudo.c                    |  19 ++++++++----
 src/sudo_plugin_int.h         |   2 +-
 13 files changed, 168 insertions(+), 98 deletions(-)


More information about the sudo-commits mailing list