]> granicus.if.org Git - sudo/log
sudo
12 years agoAlways display the I/O plugin version as long as its open functions
Todd C. Miller [Fri, 15 Feb 2013 17:31:49 +0000 (12:31 -0500)]
Always display the I/O plugin version as long as its open functions
doesn't return an error.  Previously it was only displayed if the
plugin open returned 1.

12 years agoUse sysconf(_SC_LOGIN_NAME_MAX) to find max username length instead
Todd C. Miller [Fri, 15 Feb 2013 15:20:21 +0000 (10:20 -0500)]
Use sysconf(_SC_LOGIN_NAME_MAX) to find max username length instead
of poking around in struct utmpx.

12 years ago#include "sudo_usage.h" not <sudo_usage.h> so we get the one in the
Todd C. Miller [Fri, 15 Feb 2013 13:57:21 +0000 (08:57 -0500)]
#include "sudo_usage.h" not <sudo_usage.h> so we get the one in the
build directory and not the src dir when using a separate build
directory.

12 years agoIf a line was longer that 0x80000000 the bit hack to round to the
Todd C. Miller [Thu, 14 Feb 2013 21:34:13 +0000 (16:34 -0500)]
If a line was longer that 0x80000000 the bit hack to round to the
next power of two would roll over to zero.

12 years agoUse max_groups in front-end and plugin.
Todd C. Miller [Thu, 14 Feb 2013 20:52:27 +0000 (15:52 -0500)]
Use max_groups in front-end and plugin.

12 years agoPass max_groups to plugin in settings list.
Todd C. Miller [Thu, 14 Feb 2013 20:18:10 +0000 (15:18 -0500)]
Pass max_groups to plugin in settings list.

12 years agoAdd max_groups setting to sudo.conf (currently unused) and remove
Todd C. Miller [Thu, 14 Feb 2013 18:34:33 +0000 (13:34 -0500)]
Add max_groups setting to sudo.conf (currently unused) and remove
unused return value from setters.

12 years agoReorganize configure options
Todd C. Miller [Tue, 12 Feb 2013 21:43:29 +0000 (16:43 -0500)]
Reorganize configure options

12 years agoAdd Sudo 1.8.6p7
Todd C. Miller [Mon, 11 Feb 2013 20:57:36 +0000 (15:57 -0500)]
Add Sudo 1.8.6p7

12 years agoSync with autoconf 2.68
Todd C. Miller [Sun, 10 Feb 2013 19:34:55 +0000 (14:34 -0500)]
Sync with autoconf 2.68

12 years agoRemove obsolete OS notes and move build requirements to INSTALL.
Todd C. Miller [Sun, 10 Feb 2013 14:45:06 +0000 (09:45 -0500)]
Remove obsolete OS notes and move build requirements to INSTALL.

12 years agoSort elements of the settings, user_info and command_info lists.
Todd C. Miller [Fri, 8 Feb 2013 19:44:22 +0000 (14:44 -0500)]
Sort elements of the settings, user_info and command_info lists.

12 years agoRemove trailing white space
Todd C. Miller [Fri, 8 Feb 2013 19:40:43 +0000 (14:40 -0500)]
Remove trailing white space

12 years agoStore the session ID in the tty ticket file too. A tty may only
Todd C. Miller [Fri, 8 Feb 2013 15:43:14 +0000 (10:43 -0500)]
Store the session ID in the tty ticket file too.  A tty may only
be in one session at a time so if the session ID doesn't match we
ignore the ticket.

12 years agoMove tzset() call from sudoers plugin to sudo front end.
Todd C. Miller [Thu, 7 Feb 2013 19:31:48 +0000 (14:31 -0500)]
Move tzset() call from sudoers plugin to sudo front end.

12 years agoMention line continuation
Todd C. Miller [Thu, 7 Feb 2013 19:08:54 +0000 (14:08 -0500)]
Mention line continuation

12 years agoAdd line continuation support to sudo_parseln() and make it use
Todd C. Miller [Thu, 7 Feb 2013 15:56:01 +0000 (10:56 -0500)]
Add line continuation support to sudo_parseln() and make it use
getline() instead of fgets() internally.

12 years agoFix memory leak in error path; found by llvm checker
Todd C. Miller [Wed, 6 Feb 2013 21:38:31 +0000 (16:38 -0500)]
Fix memory leak in error path; found by llvm checker

12 years agoRemove useless store detected by llvm checker.
Todd C. Miller [Wed, 6 Feb 2013 21:35:19 +0000 (16:35 -0500)]
Remove useless store detected by llvm checker.

12 years agoSudo now stores its libexec files in a "sudo" subdirectory instead
Todd C. Miller [Wed, 6 Feb 2013 19:06:51 +0000 (14:06 -0500)]
Sudo now stores its libexec files in a "sudo" subdirectory instead
of in libexec itself.  For backwards compatibility, if the plugin
is not found in the default plugin directory, sudo will check the
parent directory default directory ends in "/sudo".

12 years agoAdd missing __dso_public to plugin structs so they are exported.
Todd C. Miller [Wed, 6 Feb 2013 18:08:48 +0000 (13:08 -0500)]
Add missing __dso_public to plugin structs so they are exported.

12 years agoMention that sudoers has its own plugins too.
Todd C. Miller [Wed, 6 Feb 2013 14:30:49 +0000 (09:30 -0500)]
Mention that sudoers has its own plugins too.

12 years agoCorrect last change date.
Todd C. Miller [Tue, 5 Feb 2013 21:14:05 +0000 (16:14 -0500)]
Correct last change date.

12 years agoRemove duplicated sudo.conf info in the sudo, sudoers and sudo_plugin
Todd C. Miller [Tue, 5 Feb 2013 21:12:39 +0000 (16:12 -0500)]
Remove duplicated sudo.conf info in the sudo, sudoers and sudo_plugin
manuals and cross-reference the new sudo.conf manual.

12 years agoFix typos
Todd C. Miller [Tue, 5 Feb 2013 21:10:16 +0000 (16:10 -0500)]
Fix typos

12 years agoFix some typos.
Todd C. Miller [Tue, 5 Feb 2013 21:09:26 +0000 (16:09 -0500)]
Fix some typos.

12 years agoAdd standalone sudo.conf manual page.
Todd C. Miller [Tue, 5 Feb 2013 16:43:02 +0000 (11:43 -0500)]
Add standalone sudo.conf manual page.

12 years agoadd group_source example
Todd C. Miller [Tue, 5 Feb 2013 16:42:46 +0000 (11:42 -0500)]
add group_source example

12 years agoUse PLUGINDIR in the manuals and fix a typo in the sample sudo.conf.
Todd C. Miller [Tue, 5 Feb 2013 15:56:58 +0000 (10:56 -0500)]
Use PLUGINDIR in the manuals and fix a typo in the sample sudo.conf.

12 years agoSync with translationproject.org
Todd C. Miller [Tue, 5 Feb 2013 15:53:59 +0000 (10:53 -0500)]
Sync with translationproject.org

12 years agoSync with translationproject.org
Todd C. Miller [Sun, 3 Feb 2013 18:46:48 +0000 (13:46 -0500)]
Sync with translationproject.org

12 years agoSync with translationproject.org
Todd C. Miller [Fri, 1 Feb 2013 21:00:50 +0000 (16:00 -0500)]
Sync with translationproject.org

12 years agoClarify ttyname changes.
Todd C. Miller [Thu, 31 Jan 2013 21:06:49 +0000 (16:06 -0500)]
Clarify ttyname changes.

12 years agoAdd 1.8.6p6
Todd C. Miller [Thu, 31 Jan 2013 16:45:33 +0000 (11:45 -0500)]
Add 1.8.6p6

12 years agoRemove ttyname() fall back code on systems where we can query the
Todd C. Miller [Thu, 31 Jan 2013 16:05:56 +0000 (11:05 -0500)]
Remove ttyname() fall back code on systems where we can query the
kernel for the tty device via /proc or sysctl().  If there is no
controlling tty, it is better to just treat the tty as unknown
rather than to blindly use what is hooked up to std{in,out,err}.

12 years agoAdd group_source setting in sudo.conf to allow the admin to specify
Todd C. Miller [Sun, 27 Jan 2013 18:53:11 +0000 (13:53 -0500)]
Add group_source setting in sudo.conf to allow the admin to specify
how a user's groups are looked up.  Legal values are static (just
the kernel list from getgroups), dynamic (whatever the group database
includes) and adaptive (only use group db if kernel group list is
full).

12 years agoPass back exec_background to front end if it is enabled in sudoers.
Todd C. Miller [Sun, 27 Jan 2013 18:45:35 +0000 (13:45 -0500)]
Pass back exec_background to front end if it is enabled in sudoers.

12 years agoMention that exec_background is for 1.8.7 and higher only.
Todd C. Miller [Sun, 27 Jan 2013 18:43:02 +0000 (13:43 -0500)]
Mention that exec_background is for 1.8.7 and higher only.

12 years agoAdd missing test files.
Todd C. Miller [Thu, 24 Jan 2013 17:05:33 +0000 (12:05 -0500)]
Add missing test files.

12 years agoAdd regress test for bug 361
Todd C. Miller [Thu, 24 Jan 2013 16:57:38 +0000 (11:57 -0500)]
Add regress test for bug 361

12 years agoAdd __dso_public to extern declaration of declaration to match
Todd C. Miller [Thu, 24 Jan 2013 14:01:03 +0000 (09:01 -0500)]
Add __dso_public to extern declaration of declaration to match
actual definition.

12 years agoAdd 1.8.6p5
Todd C. Miller [Thu, 24 Jan 2013 12:44:10 +0000 (07:44 -0500)]
Add 1.8.6p5

12 years agoAdd test for visudo cycle check core dump; test case from Daniel Kopecek
Todd C. Miller [Wed, 23 Jan 2013 13:24:11 +0000 (08:24 -0500)]
Add test for visudo cycle check core dump; test case from Daniel Kopecek

12 years agoFix potential stack overflow due to infinite recursion in alias
Todd C. Miller [Wed, 23 Jan 2013 12:52:09 +0000 (07:52 -0500)]
Fix potential stack overflow due to infinite recursion in alias
cycle detection.  From Daniel Kopecek.

12 years agoIgnore duplicate entries in sudo.conf and report the line number
Todd C. Miller [Wed, 23 Jan 2013 11:33:53 +0000 (06:33 -0500)]
Ignore duplicate entries in sudo.conf and report the line number
when there is an error.  Warn, don't abort if there is more than
one policy plugin.

12 years agoUse strtoul() not atoi().
Todd C. Miller [Wed, 23 Jan 2013 11:21:45 +0000 (06:21 -0500)]
Use strtoul() not atoi().

12 years agoregen depends for to add compat/nss_dbdefs.h for getgrouplist.lo
Todd C. Miller [Tue, 22 Jan 2013 20:48:52 +0000 (15:48 -0500)]
regen depends for to add compat/nss_dbdefs.h for getgrouplist.lo

12 years agoFix typo that breaks the build on HP-UX.
Todd C. Miller [Tue, 22 Jan 2013 20:48:16 +0000 (15:48 -0500)]
Fix typo that breaks the build on HP-UX.

12 years agoUse nss_search() to implement getgrouplist() where available. Tested
Todd C. Miller [Tue, 22 Jan 2013 20:41:15 +0000 (15:41 -0500)]
Use nss_search() to implement getgrouplist() where available.  Tested
on Solaris and HP-UX.  We need to include a compatibility header
for HP-UX which uses the Solaris nsswitch implementation but doesn't
ship nss_dbdefs.h.

12 years agoRemove extra flag to sudo_sigaction(). We want to trap the signal
Todd C. Miller [Sat, 19 Jan 2013 20:10:01 +0000 (15:10 -0500)]
Remove extra flag to sudo_sigaction().  We want to trap the signal
regardless of whether or not it is ignored by the underlying command
since there's no way to know what signal handlers the command will
install.  Now we just use sudo_sigaction() to set a flag in
saved_signals[] to indicate whether a signal needs to be restored
before exec.

12 years agoUse _getgroupsbymember() on Solaris to get the groups list. Fixes
Todd C. Miller [Fri, 18 Jan 2013 19:58:12 +0000 (14:58 -0500)]
Use _getgroupsbymember() on Solaris to get the groups list.  Fixes
performance problems with the getgroupslist() compat on Solaris
systems with network-based group databases.

12 years agoDocument signal handler behavior in plugin API 1.3
Todd C. Miller [Thu, 17 Jan 2013 20:13:32 +0000 (15:13 -0500)]
Document signal handler behavior in plugin API 1.3

12 years agoMove signal code into its own source file and add sudo_sigaction()
Todd C. Miller [Thu, 17 Jan 2013 18:29:46 +0000 (13:29 -0500)]
Move signal code into its own source file and add sudo_sigaction()
wrapper that has an extra flag to check the saved_signals list to
only install the handler if the signal is not already ignored.
Bump plugin API version for the new front-end signal behavior.

12 years agoCatch SIGINT, SIGQUIT and SIGTSTP in the front end before we execute
Todd C. Miller [Thu, 17 Jan 2013 14:20:45 +0000 (09:20 -0500)]
Catch SIGINT, SIGQUIT and SIGTSTP in the front end before we execute
the command.  If we get SIGINT or SIGQUIT, call the plugin close()
functions as if the command was interrupted.  If we get SIGTSTP,
uninstall the handler and deliver SIGTSTP to ourselves.

12 years agoRename handle_signals() to dispatch_signals().
Todd C. Miller [Thu, 17 Jan 2013 14:17:54 +0000 (09:17 -0500)]
Rename handle_signals() to dispatch_signals().
Block other signals in handler() so we don't have to worry about
the write() being interrupted.

12 years agoRename signal handler to avoid name clash with one in exec.c
Todd C. Miller [Wed, 16 Jan 2013 20:28:36 +0000 (15:28 -0500)]
Rename signal handler to avoid name clash with one in exec.c

12 years agoAdd missing call to save_signals().
Todd C. Miller [Sun, 13 Jan 2013 20:24:12 +0000 (15:24 -0500)]
Add missing call to save_signals().

12 years agoFill in the comment block at the top of the .pot files and preserve
Todd C. Miller [Fri, 11 Jan 2013 22:08:49 +0000 (17:08 -0500)]
Fill in the comment block at the top of the .pot files and preserve
it when regenerating them.

12 years agoAdd exec_background option in plugin command info and a sudoers
Todd C. Miller [Fri, 11 Jan 2013 19:34:09 +0000 (14:34 -0500)]
Add exec_background option in plugin command info and a sudoers
option to match.  When set, commands are started in the background
and automatically foregrounded as needed.  There are issues with
some ill-mannered programs (like Linux su) so this is not the
default.

12 years agoregen
Todd C. Miller [Fri, 11 Jan 2013 19:29:37 +0000 (14:29 -0500)]
regen

12 years agoAdd SESH_OBJS variable for sesh object files.
Todd C. Miller [Fri, 11 Jan 2013 19:28:52 +0000 (14:28 -0500)]
Add SESH_OBJS variable for sesh object files.

12 years agoUpdate copyright year.
Todd C. Miller [Fri, 11 Jan 2013 19:14:10 +0000 (14:14 -0500)]
Update copyright year.

12 years agoAlways resume the command in the foreground if sudo itself is the
Todd C. Miller [Fri, 11 Jan 2013 15:09:06 +0000 (10:09 -0500)]
Always resume the command in the foreground if sudo itself is the
foreground process.  This helps work around poorly behaved programs
that catch SIGTTOU/SIGTTIN but suspend themselves with SIGSTOP.  At
worst, sudo will go into the background but upon resume the command
will be runnable.  Otherwise, we can get into a situation where the
command will immediately suspend itself.

12 years agoUse -fstack-protector-all in preference to -fstack-protector
Todd C. Miller [Fri, 11 Jan 2013 14:39:59 +0000 (09:39 -0500)]
Use -fstack-protector-all in preference to -fstack-protector
where supported.

12 years agoOnly test for -fstack-protector and -fvisibility=hidden on GNU
Todd C. Miller [Fri, 11 Jan 2013 02:27:40 +0000 (21:27 -0500)]
Only test for -fstack-protector and -fvisibility=hidden on GNU
compatible compilers.

12 years agoAdd Sudo 1.8.6p4
Todd C. Miller [Thu, 3 Jan 2013 19:52:10 +0000 (14:52 -0500)]
Add Sudo 1.8.6p4

12 years agoBreak out stack smashing protector options into SSP_CFLAGS and
Todd C. Miller [Thu, 3 Jan 2013 19:20:49 +0000 (14:20 -0500)]
Break out stack smashing protector options into SSP_CFLAGS and
SSP_LDFLAGS so we can use it everywhere (unlike LT_LDFLAGS).

12 years agoIn rbrepair(), make sure we never try to change the color of the
Todd C. Miller [Tue, 1 Jan 2013 18:31:40 +0000 (13:31 -0500)]
In rbrepair(), make sure we never try to change the color of the
sentinel node, which is the first entry, not the root.
From Michael King

12 years agoNo need to restore default signal handler for SIGSTOP as it is not
Todd C. Miller [Fri, 28 Dec 2012 16:03:23 +0000 (11:03 -0500)]
No need to restore default signal handler for SIGSTOP as it is not
catchable.  Attempting to do so is harmless but sigaction() will
fail and set errno to EINVAL which makes it looks like there is an
error.

12 years agoPrint SIGCONT_FG and SIGCONT_BG properly in debug output.
Todd C. Miller [Fri, 28 Dec 2012 16:01:36 +0000 (11:01 -0500)]
Print SIGCONT_FG and SIGCONT_BG properly in debug output.

12 years agoDisable PIE on FreeBSD/ia64, otherwise sudo will segfault.
Todd C. Miller [Thu, 27 Dec 2012 21:25:51 +0000 (16:25 -0500)]
Disable PIE on FreeBSD/ia64, otherwise sudo will segfault.

12 years agoAdd howmany() macro since some systems have this in sys/param.h
Todd C. Miller [Thu, 20 Dec 2012 19:46:45 +0000 (14:46 -0500)]
Add howmany() macro since some systems have this in sys/param.h
which we no longer include.

12 years agoRemove errant file.
Todd C. Miller [Fri, 7 Dec 2012 19:58:06 +0000 (14:58 -0500)]
Remove errant file.

12 years agoRemove obsolete sudoers_cleanup() stubs.
Todd C. Miller [Tue, 4 Dec 2012 15:41:59 +0000 (10:41 -0500)]
Remove obsolete sudoers_cleanup() stubs.

12 years agoDon't include <sys/param.h>. We only needed it for MAXPATHLEN,
Todd C. Miller [Tue, 4 Dec 2012 15:40:47 +0000 (10:40 -0500)]
Don't include <sys/param.h>.  We only needed it for MAXPATHLEN,
MAXHOSTNAMELEN and the MIN/MAX macros.  We now use PATH_MAX and
HOST_NAME_MAX throughout without falling back on MAXPATHLEN or
MAXHOSTNAMELEN and define our own MIN/MAX macros as needed.

12 years agoUse MAX_HOST_NAME+1 (limits.h) instead of MAXHOSTNAMELEN (sys/param.h
Todd C. Miller [Tue, 4 Dec 2012 15:18:41 +0000 (10:18 -0500)]
Use MAX_HOST_NAME+1 (limits.h) instead of MAXHOSTNAMELEN (sys/param.h
or netdb.h).

12 years agoMove debug_decl() in log_failure() to be after the variable
Todd C. Miller [Fri, 30 Nov 2012 16:39:27 +0000 (11:39 -0500)]
Move debug_decl() in log_failure() to be after the variable
declarations for C89.

12 years agoCannot wrap sigsetjmp() or we end up returning to the wrong place.
Todd C. Miller [Thu, 29 Nov 2012 11:37:13 +0000 (06:37 -0500)]
Cannot wrap sigsetjmp() or we end up returning to the wrong place.
Use a macro instead.

12 years agoFix return in sudoers_policy_open that should be debug_return.
Todd C. Miller [Wed, 28 Nov 2012 21:48:04 +0000 (16:48 -0500)]
Fix return in sudoers_policy_open that should be debug_return.

12 years agoDefine sudo_ttyname_dev() for the HAVE_STRUCT_PSINFO_PR_TTYDEV case
Todd C. Miller [Tue, 27 Nov 2012 15:49:46 +0000 (10:49 -0500)]
Define sudo_ttyname_dev() for the HAVE_STRUCT_PSINFO_PR_TTYDEV case
too.

12 years agoQuiet a gcc warning and add comment about needing to keep the
Todd C. Miller [Tue, 27 Nov 2012 15:29:55 +0000 (10:29 -0500)]
Quiet a gcc warning and add comment about needing to keep the
handle open.

12 years agomention --disable-shared
Todd C. Miller [Mon, 26 Nov 2012 20:25:19 +0000 (15:25 -0500)]
mention --disable-shared

12 years agoAdd missing command_info argument in I/O plugin open() prototype.
Todd C. Miller [Mon, 26 Nov 2012 14:57:35 +0000 (09:57 -0500)]
Add missing command_info argument in I/O plugin open() prototype.
Bug #579

12 years agoRegen for proper line numbers.
Todd C. Miller [Sun, 25 Nov 2012 16:55:33 +0000 (11:55 -0500)]
Regen for proper line numbers.

12 years agoAdd locale_stub.o to SUDO_OBJS, not locale_stub.lo.
Todd C. Miller [Sun, 25 Nov 2012 16:54:17 +0000 (11:54 -0500)]
Add locale_stub.o to SUDO_OBJS, not locale_stub.lo.

12 years agoInclude missing.h for __printflike.
Todd C. Miller [Sun, 25 Nov 2012 16:51:43 +0000 (11:51 -0500)]
Include missing.h for __printflike.

12 years agoSaner loop invariant in io_mkdirs (cosmetic only).
Todd C. Miller [Sun, 25 Nov 2012 14:46:40 +0000 (09:46 -0500)]
Saner loop invariant in io_mkdirs (cosmetic only).

12 years agoMove warn/error into common and make static builds work.
Todd C. Miller [Sun, 25 Nov 2012 14:34:40 +0000 (09:34 -0500)]
Move warn/error into common and make static builds work.

12 years agoMove _sudo_printf from src/conversation.c to common/sudo_printf.c.
Todd C. Miller [Sun, 25 Nov 2012 14:34:33 +0000 (09:34 -0500)]
Move _sudo_printf from src/conversation.c to common/sudo_printf.c.
Add sudo_printf function pointer that is initialized to _sudo_printf()
instead of requiring a sudo_conv function pointer everywhere.  The
plugin will reset sudo_printf to point to the version passed in via
the plugin open function.  Now plugin_error.c can just call sudo_printf
in all cases.  The sudoers binaries no longer need their own version
of sudo_printf.

12 years agoAdd plugin_setjmp() wrapper for siglongjmp(error_jmp, 1) so we don't
Todd C. Miller [Sun, 25 Nov 2012 14:34:26 +0000 (09:34 -0500)]
Add plugin_setjmp() wrapper for siglongjmp(error_jmp, 1) so we don't
need error_jmp to be extern.  Also add plugin_clearjmp() that clears
a flag so error()/errorx() knows when to call exit() vs. longjmp().

12 years agoLet warning() call gettext() for us.
Todd C. Miller [Sun, 25 Nov 2012 14:34:20 +0000 (09:34 -0500)]
Let warning() call gettext() for us.

12 years agoDo locale swapping in the warning()/error() macros themselves instead
Todd C. Miller [Sun, 25 Nov 2012 14:34:15 +0000 (09:34 -0500)]
Do locale swapping in the warning()/error() macros themselves instead
of in the underlying functions.

12 years agoRename warning2()/error2() -> warning_nodebug()/error_nodebug().
Todd C. Miller [Sun, 25 Nov 2012 14:34:10 +0000 (09:34 -0500)]
Rename warning2()/error2() -> warning_nodebug()/error_nodebug().

12 years agoCall gettext() on parameters for warning()/warningx() instead of
Todd C. Miller [Sun, 25 Nov 2012 14:34:04 +0000 (09:34 -0500)]
Call gettext() on parameters for warning()/warningx() instead of
having warning() do it for us.

12 years agoCall gettext() in sudoerserror() in the user's locale and pass the untranslated strin...
Todd C. Miller [Sun, 25 Nov 2012 14:33:58 +0000 (09:33 -0500)]
Call gettext() in sudoerserror() in the user's locale and pass the untranslated string to it.

12 years agoAllow sudoers programs (visudo, sudoreplay, visudo) to use
Todd C. Miller [Sun, 25 Nov 2012 14:33:52 +0000 (09:33 -0500)]
Allow sudoers programs (visudo, sudoreplay, visudo) to use
plugin_error.c instead of the error.c from the front-end.  This
means sudoers_setlocale() needs to be independent of the sudo_user
struct and the defaults table.  The sudoers locale is now updated
via a callback.

12 years agoInclude setjmp.h in sudoers.h
Todd C. Miller [Sun, 25 Nov 2012 14:33:33 +0000 (09:33 -0500)]
Include setjmp.h in sudoers.h
Move error_jmp into plugin_error.c
Rename sudoers_plugin_cleanup sudoers_cleanup
Make sudoers warning/error functions work when sudo_conv is NULL

12 years agoNo need to change locale in front-end warning()/error().
Todd C. Miller [Sun, 25 Nov 2012 14:25:15 +0000 (09:25 -0500)]
No need to change locale in front-end warning()/error().

12 years agoIgnore bad lines in passwd/group file instead if stopping processing when we hit...
Todd C. Miller [Sun, 25 Nov 2012 14:23:17 +0000 (09:23 -0500)]
Ignore bad lines in passwd/group file instead if stopping processing when we hit one.

12 years agoBash doesn't let you set UID to use MYUID instead.
Todd C. Miller [Sun, 25 Nov 2012 13:12:55 +0000 (08:12 -0500)]
Bash doesn't let you set UID to use MYUID instead.