Commit Graph

12 Commits

Author SHA1 Message Date
Todd C. Miller
9fbec34fed Add pointer to a printf like function to plugin open functon.
This can be used instead of the conversation function to display
info and error messages.
2010-05-04 19:17:31 -04:00
Todd C. Miller
d346e50903 Use angle brackets when including headers that can only be found when
an -I flag is specified.  The files in the compat dir could get away
with double quotes here but I've converted all the source files
to use angle brackets for consistency.
2010-04-30 15:13:47 -04:00
Todd C. Miller
eec5235d19 Rewrite compat/getprogname.c and add setprogname().
The progname is now passed to the plugin via the settings array.
2010-03-19 07:52:31 -04:00
Todd C. Miller
8003cb2f33 Need to include compat.h before missing.h 2010-03-12 12:46:30 -05:00
Todd C. Miller
f211213dcb conversation function no longer puts a newline at the end of info
or error messages.
2010-03-09 19:20:01 -05:00
Todd C. Miller
b814a0d74f Add support to -u and -g flags
Check fmt_string retval
Add timeout for debugging purposes
2010-03-06 16:29:59 -05:00
Todd C. Miller
1e131d4278 Handle NULL reply from conversation function 2010-03-05 17:13:42 -05:00
Todd C. Miller
064eb35365 runas_user is in settings not user_info 2010-03-05 14:39:13 -05:00
Todd C. Miller
fac0743e8a include missing,h for vasprintf 2010-02-21 21:27:57 -05:00
Todd C. Miller
80fae46be8 Need to include limits.h 2010-02-21 21:19:07 -05:00
Todd C. Miller
781a054ab9 Log input and output to temp files for proof of concept. 2010-02-21 14:19:22 -05:00
Todd C. Miller
3b354e36f3 Sample plugin demonstrating the sudo plugin API 2010-02-20 09:42:16 -05:00