2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

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.
This commit is contained in:
Todd C. Miller
2014-10-05 16:41:52 -06:00
parent 29be093646
commit bd99dcc028
12 changed files with 108 additions and 38 deletions

View File

@@ -104,6 +104,7 @@ uid_t timestamp_uid;
char *login_style;
#endif /* HAVE_BSD_AUTH_H */
int sudo_mode;
sudo_printf_t sudo_printf;
static char *prev_user;
static char *runas_user;