Commit Graph

13 Commits

Author SHA1 Message Date
Todd C. Miller
8db39a8586 Add checks for getgrset and getgrouplist and use replacement getgrouplist
if the system doesn't support it.
2010-03-22 08:25:30 -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
fdbc4ecffb Include stdarg.h for va_list rather than requiring all consumers of
missing.h to include stdarg.h themselves.
2010-03-18 08:58:31 -04:00
Todd C. Miller
b4f4afdf69 Pass in output function to lbuf_init() instead of writing to stdout.
A side effect is that the usage info can now go to stderr as it should.
2010-03-18 06:42:17 -04:00
Todd C. Miller
038ec569de Use number of tty columns that is passed in user_info instead of
getting it directly in the lbuf code.
2010-03-17 21:25:32 -04:00
Todd C. Miller
fc598f8e12 Add strdup and strndup and fix strsignal 2010-03-13 09:30:22 -05:00
Todd C. Miller
af62ffe6f1 Add definition of WCOREDUMP for systems without it. This is known
to work on AIX and SunOS 4, but may be incorrect on other systems
that lack WCOREDUMP.
2010-03-11 16:57:20 -05:00
Todd C. Miller
847a7c1b24 tq_remove not list_remove 2010-03-06 14:28:26 -05:00
Todd C. Miller
76c90bc301 Add estrndup() 2010-02-28 15:09:50 -05:00
Todd C. Miller
25d3b4e51c Add tq_remove 2010-02-27 13:17:58 -05:00
Todd C. Miller
841807dd66 Convert to ANSI C 2010-02-27 09:26:43 -05:00
Todd C. Miller
90c06ad7f2 Sudo plugin API 2010-02-20 09:30:27 -05:00
Todd C. Miller
e90fa482f9 Rework source layout in preparation for modular sudo. 2010-02-20 09:14:01 -05:00