Commit Graph

22 Commits

Author SHA1 Message Date
Todd C. Miller
dbbc0cea56 Use siglongjmp() in log_error for fatal errors 2010-03-15 07:06:11 -04:00
Todd C. Miller
d1d6afaef0 Quiet a libtool warning 2010-03-15 07:01:51 -04:00
Todd C. Miller
d54cedfab7 Use warningx in yyerror() so the conversation function gets used
when built as part of sudoers.
2010-03-15 10:44:06 -04:00
Todd C. Miller
748ce55381 Rename sudo_conv to conversation to avoid a namespace conflict. 2010-03-14 20:47:56 -04:00
Todd C. Miller
9b0205846b Initial bits of sudoers plugin; still needs work. 2010-03-14 19:58:47 -04:00
Todd C. Miller
b883670a32 Build libmissing in two flavors (one PIC one non-PIC) and link with the
appropriate one.
2010-03-14 18:01:17 -04:00
Todd C. Miller
6b4d97ebc3 Add strdup and strndup to compat 2010-03-12 17:11:11 -05: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
c81a62df34 Use $(OBJS) instead of sample_plugin.lo 2010-03-05 14:44:04 -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
7200af0ce1 Add missing compat bits 2010-02-21 21:15:38 -05:00
Todd C. Miller
b3176134cb compat files should not include sudo.h
wire up compat in sample plugin
2010-02-21 16:41:19 -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
Todd C. Miller
b6a4cf7233 Modular sudo front-end which loads policy and I/O plugins that do
most the actual work.  Currently relies on dynamic loading using
dlopen().  See doc/plugin.pod for the plugin API.
2010-02-20 09:41:49 -05:00
Todd C. Miller
d6187f5ad3 Replace emul/include.h with compat/include.h to match new source
tree layout.
2010-02-20 09:22:30 -05:00
Todd C. Miller
e90fa482f9 Rework source layout in preparation for modular sudo. 2010-02-20 09:14:01 -05:00