]> granicus.if.org Git - sudo/log
sudo
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.

12 years agoAvoid NULL deref for unknown Defaults in strict mode.
Todd C. Miller [Sun, 25 Nov 2012 13:12:54 +0000 (08:12 -0500)]
Avoid NULL deref for unknown Defaults in strict mode.

12 years agoSee DEFAULT_TEXT_DOMAIN
Todd C. Miller [Sun, 25 Nov 2012 13:10:12 +0000 (08:10 -0500)]
See DEFAULT_TEXT_DOMAIN

12 years agoAdd signame.c and mksigname.
Todd C. Miller [Tue, 13 Nov 2012 14:46:19 +0000 (09:46 -0500)]
Add signame.c and mksigname.

12 years agoFold preinstall into install-plugin and pass the path to the
Todd C. Miller [Tue, 13 Nov 2012 14:41:52 +0000 (09:41 -0500)]
Fold preinstall into install-plugin and pass the path to the
plugin binary to the preinstall command.

12 years agosync with upstream
Todd C. Miller [Tue, 13 Nov 2012 13:54:40 +0000 (08:54 -0500)]
sync with upstream

12 years agorepair spacing
Todd C. Miller [Tue, 13 Nov 2012 13:54:31 +0000 (08:54 -0500)]
repair spacing

12 years agoSet group on sudo_debug when creating it to gid 0 so systems without
Todd C. Miller [Mon, 12 Nov 2012 22:12:34 +0000 (17:12 -0500)]
Set group on sudo_debug when creating it to gid 0 so systems without
BSD group semantics don't get the invoking user's group.

12 years agoRename mkdir_parents() io_mkdirs() and add a flag to specify whether
Todd C. Miller [Mon, 12 Nov 2012 22:04:24 +0000 (17:04 -0500)]
Rename mkdir_parents() io_mkdirs() and add a flag to specify whether
path is a temporary, in which case the final component is created
via mkdtemp() instead of mkdir().

12 years agoFor PERM_ROOT set egid to 0 so log files are not created with
Todd C. Miller [Mon, 12 Nov 2012 20:20:10 +0000 (15:20 -0500)]
For PERM_ROOT set egid to 0 so log files are not created with
the gid of the user.

12 years agoAdd calls to set_perms(PERM_ROOT) becore logging to a file. We
Todd C. Miller [Mon, 12 Nov 2012 14:41:56 +0000 (09:41 -0500)]
Add calls to set_perms(PERM_ROOT) becore logging to a file.  We
should already be root but since we cache the current permission
status it is basically free.  That way, if more of sudoers runs as
non-root in the future logging will still work correctly.

12 years ago#unifdef HAVE_SETLOCALE, it is C89 so no need to check for it.
Todd C. Miller [Mon, 12 Nov 2012 13:51:58 +0000 (08:51 -0500)]
#unifdef HAVE_SETLOCALE, it is C89 so no need to check for it.

12 years agoMention that sudo.conf is parsed in the C locale.
Todd C. Miller [Mon, 12 Nov 2012 11:27:53 +0000 (06:27 -0500)]
Mention that sudo.conf is parsed in the C locale.

12 years agoParse sudo.conf in the "C" locale.
Todd C. Miller [Mon, 12 Nov 2012 10:42:48 +0000 (05:42 -0500)]
Parse sudo.conf in the "C" locale.

12 years agoFix compilation on systems w/o setlocale()
Todd C. Miller [Mon, 12 Nov 2012 10:36:43 +0000 (05:36 -0500)]
Fix compilation on systems w/o setlocale()

12 years agoSudo now includes a workaround for the Solaris 11 locale issue.
Todd C. Miller [Mon, 12 Nov 2012 10:22:01 +0000 (05:22 -0500)]
Sudo now includes a workaround for the Solaris 11 locale issue.

12 years agoAlways include locale.h from gettext.h so we no longer need to
Todd C. Miller [Mon, 12 Nov 2012 01:23:53 +0000 (20:23 -0500)]
Always include locale.h from gettext.h so we no longer need to
include locale.h from the .c files.

12 years agoAdd os-specific initialization functions for solaris (workaround
Todd C. Miller [Sun, 11 Nov 2012 12:11:22 +0000 (07:11 -0500)]
Add os-specific initialization functions for solaris (workaround
setuid locale problem in Solaris 11) and openbsd (set malloc_options
if SUDO_DEVEL).  Also move set_project() to solaris.c.

12 years agoAvoid strerror() when possible and just rely on warning/error
Todd C. Miller [Fri, 9 Nov 2012 21:32:29 +0000 (16:32 -0500)]
Avoid strerror() when possible and just rely on warning/error
to handle errno in the proper locale.

12 years agoSet sudoers locale in log_allowed()
Todd C. Miller [Fri, 9 Nov 2012 21:31:23 +0000 (16:31 -0500)]
Set sudoers locale in log_allowed()

12 years agoMake the sudo lecture translatable.
Todd C. Miller [Fri, 9 Nov 2012 20:37:03 +0000 (15:37 -0500)]
Make the sudo lecture translatable.

12 years agoAdd the values of badpass_message, passprompt and mailsub to
Todd C. Miller [Fri, 9 Nov 2012 20:31:04 +0000 (15:31 -0500)]
Add the values of badpass_message, passprompt and mailsub to
sudoers.pot so they can be translated.

12 years agoExpand the FMT_FIRST anf FMT_CONTD macros inline so they get picked
Todd C. Miller [Fri, 9 Nov 2012 20:30:06 +0000 (15:30 -0500)]
Expand the FMT_FIRST anf FMT_CONTD macros inline so they get picked
up by xgettext.

12 years agoMake expand_prompt() args const and free the prompt when we are
Todd C. Miller [Thu, 8 Nov 2012 21:40:37 +0000 (16:40 -0500)]
Make expand_prompt() args const and free the prompt when we are
done with it.

12 years agoFix cut and pasto
Todd C. Miller [Thu, 8 Nov 2012 21:40:03 +0000 (16:40 -0500)]
Fix cut and pasto

12 years agoExpand def_mailsub in the sudoers locale, not the user's.
Todd C. Miller [Thu, 8 Nov 2012 21:39:44 +0000 (16:39 -0500)]
Expand def_mailsub in the sudoers locale, not the user's.

12 years agoCall gettext inside log_error et al instead of having the caller do it. This way...
Todd C. Miller [Thu, 8 Nov 2012 20:37:44 +0000 (15:37 -0500)]
Call gettext inside log_error et al instead of having the caller do it.  This way we can display any messages to the user in their own locale but log in the sudoers local.

12 years agoDisplay warning/error messages in the user's locale.
Todd C. Miller [Thu, 8 Nov 2012 20:37:44 +0000 (15:37 -0500)]
Display warning/error messages in the user's locale.

12 years agoaudit_failure() now calls gettext itself using the sudoers locale.
Todd C. Miller [Thu, 8 Nov 2012 20:37:43 +0000 (15:37 -0500)]
audit_failure() now calls gettext itself using the sudoers locale.

12 years agoConvert setlocale() to sudoers_setlocale() in the sudoers module.
Todd C. Miller [Thu, 8 Nov 2012 20:37:43 +0000 (15:37 -0500)]
Convert setlocale() to sudoers_setlocale() in the sudoers module.
This only converts existing uses, there are more places where we
need to sprinkle sudoers_setlocale() calls.

12 years agoAdd simple locale switching to make it easy to switch from the
Todd C. Miller [Thu, 8 Nov 2012 20:37:43 +0000 (15:37 -0500)]
Add simple locale switching to make it easy to switch from the
user's locale to the sudoers locale without making excessive
setlocale() calls when we don't need to.

12 years agoAdd variants of warn/error and sudo_debug_printf that take a va_list
Todd C. Miller [Thu, 8 Nov 2012 20:37:42 +0000 (15:37 -0500)]
Add variants of warn/error and sudo_debug_printf that take a va_list
instead of a variable number of args.

12 years agoDocument Solaris 11 locale issues and workarounds.
Todd C. Miller [Thu, 8 Nov 2012 20:22:44 +0000 (15:22 -0500)]
Document Solaris 11 locale issues and workarounds.

12 years agoSolaris gettext() looks in lang.UTF-8, not just lang for UTF-8 locales.
Todd C. Miller [Thu, 8 Nov 2012 19:45:22 +0000 (14:45 -0500)]
Solaris gettext() looks in lang.UTF-8, not just lang for UTF-8 locales.
Make links from localdir/lang -> localdir/lang.UTF-8

12 years agoDo not inform the user that the command was not permitted by the
Todd C. Miller [Tue, 6 Nov 2012 16:19:51 +0000 (11:19 -0500)]
Do not inform the user that the command was not permitted by the
policy if they do not successfully authenticate.  This is a regression
introduced in sudo 1.8.6.

12 years agoAdd preinstall target that runs SUDO_PREINSTALL_CMD. Used to fixup
Todd C. Miller [Tue, 6 Nov 2012 16:08:53 +0000 (11:08 -0500)]
Add preinstall target that runs SUDO_PREINSTALL_CMD.  Used to fixup
the rpath in HP-UX SOM shared libraries for the LDAP libs.

12 years agoThe -a option should be #ifdef HAVE_BSD_AUTH_H, not -A.
Todd C. Miller [Tue, 6 Nov 2012 16:00:22 +0000 (11:00 -0500)]
The -a option should be #ifdef HAVE_BSD_AUTH_H, not -A.

12 years agoAllow the user to specify and alternate libtool
Todd C. Miller [Sun, 28 Oct 2012 16:58:48 +0000 (12:58 -0400)]
Allow the user to specify and alternate libtool

12 years agoAllow sudo to be build with sss support without also including ldap
Todd C. Miller [Fri, 26 Oct 2012 14:27:56 +0000 (10:27 -0400)]
Allow sudo to be build with sss support without also including ldap
support.  From Stephane Graber.

12 years agoRefactor policy plugin interface code from sudoers.c into policy.c
Todd C. Miller [Thu, 25 Oct 2012 20:58:31 +0000 (16:58 -0400)]
Refactor policy plugin interface code from sudoers.c into policy.c

12 years agoRefactor command_info setting into its own function.
Todd C. Miller [Thu, 25 Oct 2012 17:16:58 +0000 (13:16 -0400)]
Refactor command_info setting into its own function.

12 years agoMake interfaces pointer private to interfaces.c and add get_interfaces()
Todd C. Miller [Thu, 25 Oct 2012 17:15:52 +0000 (13:15 -0400)]
Make interfaces pointer private to interfaces.c and add get_interfaces()
accessor.

12 years agoMake user_cwd const since it is either a string literal or passed
Todd C. Miller [Wed, 24 Oct 2012 20:32:43 +0000 (16:32 -0400)]
Make user_cwd const since it is either a string literal or passed
in from the front-end.

12 years agosudo 1.8.7
Todd C. Miller [Wed, 24 Oct 2012 20:29:13 +0000 (16:29 -0400)]
sudo 1.8.7

12 years agoAvoid nested strtok() calls.
Todd C. Miller [Wed, 24 Oct 2012 18:24:36 +0000 (14:24 -0400)]
Avoid nested strtok() calls.

12 years agoMove expand_prompt() into its own source file for easier unit testing.
Todd C. Miller [Tue, 23 Oct 2012 18:27:52 +0000 (14:27 -0400)]
Move expand_prompt() into its own source file for easier unit testing.

12 years agoMake check.c independent of the underlying timestamp implementation.
Todd C. Miller [Tue, 23 Oct 2012 18:16:57 +0000 (14:16 -0400)]
Make check.c independent of the underlying timestamp implementation.

12 years agoAdd SUDOERS_NO_SEQ define to allow ${seq} to be disabled.
Todd C. Miller [Tue, 23 Oct 2012 15:57:07 +0000 (11:57 -0400)]
Add SUDOERS_NO_SEQ define to allow ${seq} to be disabled.

12 years agoUse a list for the possible values of Tag_Spec with a minimal indent
Todd C. Miller [Tue, 23 Oct 2012 14:21:24 +0000 (10:21 -0400)]
Use a list for the possible values of Tag_Spec with a minimal indent
to improve readability.  In the pod version, these were =head3.
Also use .St -p1003.1 instead of just POSIX when talking about
glob() and fnmatch().

12 years agosudo_ttyname_dev() is unused if there is no /proc or sysctl().
Todd C. Miller [Tue, 2 Oct 2012 19:29:52 +0000 (15:29 -0400)]
sudo_ttyname_dev() is unused if there is no /proc or sysctl().

12 years agoExplicitly mark main() as public in executables to avoid an HP-UX
Todd C. Miller [Tue, 2 Oct 2012 19:08:02 +0000 (15:08 -0400)]
Explicitly mark main() as public in executables to avoid an HP-UX
ld warning.

12 years agoRemove grep from SEE ALSO section.
Todd C. Miller [Tue, 2 Oct 2012 19:07:11 +0000 (15:07 -0400)]
Remove grep from SEE ALSO section.

12 years agoIf vasprintf() fails, just use the errno it sets instead of assuming
Todd C. Miller [Tue, 2 Oct 2012 18:45:18 +0000 (14:45 -0400)]
If vasprintf() fails, just use the errno it sets instead of assuming
ENOMEM.

12 years agoMention HP-UX pam.conf settings.
Todd C. Miller [Fri, 28 Sep 2012 13:05:31 +0000 (09:05 -0400)]
Mention HP-UX pam.conf settings.

12 years agoSplit off timestamp functions into their own source file.
Todd C. Miller [Thu, 27 Sep 2012 14:21:13 +0000 (10:21 -0400)]
Split off timestamp functions into their own source file.

12 years agoMention how !foo is not the same as ALL,!foo
Todd C. Miller [Wed, 26 Sep 2012 18:55:18 +0000 (14:55 -0400)]
Mention how !foo is not the same as ALL,!foo

12 years agoStart commands in the background when I/O logging is enabled. We
Todd C. Miller [Tue, 25 Sep 2012 17:49:51 +0000 (13:49 -0400)]
Start commands in the background when I/O logging is enabled.  We
can't do this on Mac OS X due to a kernel bug in tc[gs]etattr(2)
which returns EINTR on signal instead of restarting automatically.

12 years agoHandle SIGCONT_FG and SIGCONT_BG when converting signal number to
Todd C. Miller [Tue, 25 Sep 2012 17:31:20 +0000 (13:31 -0400)]
Handle SIGCONT_FG and SIGCONT_BG when converting signal number to
string in deliver_signal().

12 years agoFix running commands that need the terminal in the background when
Todd C. Miller [Mon, 24 Sep 2012 19:06:14 +0000 (15:06 -0400)]
Fix running commands that need the terminal in the background when
I/O logging is enabled.  E.g. "sudo vi &".  When the command is
foregrounded, it will now resume properly.

12 years agoAdd rudimentary support for name-based matching as a compile-time
Todd C. Miller [Mon, 24 Sep 2012 14:09:41 +0000 (10:09 -0400)]
Add rudimentary support for name-based matching as a compile-time
option.  This unsafe when used in conjunction with the '!' operator.

12 years agoSplit out implementation-specific back end code out of pwutil.c
Todd C. Miller [Fri, 21 Sep 2012 20:25:01 +0000 (16:25 -0400)]
Split out implementation-specific back end code out of pwutil.c
into pwutil_impl.c.  This will allow the main pwutil code to be
used for lookup methods other than getpw* and getgr*.

12 years agosudo 1.8.6p3
Todd C. Miller [Tue, 18 Sep 2012 13:41:58 +0000 (09:41 -0400)]
sudo 1.8.6p3

12 years agoDon't use embedded newline when matching, use \n. This got expanded
Todd C. Miller [Tue, 18 Sep 2012 02:09:00 +0000 (22:09 -0400)]
Don't use embedded newline when matching, use \n.  This got expanded
at some point.  Bug #573

12 years agoRename yyerror() to sudoerserror() to match yacc prefix changes.
Todd C. Miller [Mon, 17 Sep 2012 21:03:17 +0000 (17:03 -0400)]
Rename yyerror() to sudoerserror() to match yacc prefix changes.
Not really needed due to the #defines that yacc makes but it is
less confusing this way as the lexer calls sudoerserror().

12 years agoNo need to translate "unable to allocate memory" when we can just
Todd C. Miller [Mon, 17 Sep 2012 20:59:26 +0000 (16:59 -0400)]
No need to translate "unable to allocate memory" when we can just
use the system translation via strerror().

12 years agoFall back on lstat(2) if d_type in struct dirent is DT_UNKNOWN.
Todd C. Miller [Mon, 17 Sep 2012 17:20:30 +0000 (13:20 -0400)]
Fall back on lstat(2) if d_type in struct dirent is DT_UNKNOWN.
Not all file systems support d_type.  Bug #572

12 years agoAvoid calling fclose(NULL) in the error path when we cannot open an
Todd C. Miller [Mon, 17 Sep 2012 14:53:46 +0000 (10:53 -0400)]
Avoid calling fclose(NULL) in the error path when we cannot open an
I/O log file.

12 years agoSudo 1.8.6p2
Todd C. Miller [Mon, 17 Sep 2012 01:04:33 +0000 (21:04 -0400)]
Sudo 1.8.6p2

12 years agoWhen setting the signal handler for SIGTSTP to the default value
Todd C. Miller [Sun, 16 Sep 2012 22:40:39 +0000 (18:40 -0400)]
When setting the signal handler for SIGTSTP to the default value
in non-I/O log mode, store the old handler value for when we restore
it after resume.

12 years agoReplace the guts of sudo_setenv_nodebug() with our old setenv.c
Todd C. Miller [Sun, 16 Sep 2012 19:18:58 +0000 (15:18 -0400)]
Replace the guts of sudo_setenv_nodebug() with our old setenv.c
which supports non-standard BSD and glibc semantics.
sudo_setenv() now simply calls sudo_setenv2().

12 years agoDocument non-Unix group support in LDAP sudoers.
Todd C. Miller [Sat, 15 Sep 2012 18:00:30 +0000 (14:00 -0400)]
Document non-Unix group support in LDAP sudoers.

12 years agoEnable non-Unix group support for LDAP sudoers. We now check for
Todd C. Miller [Sat, 15 Sep 2012 17:41:24 +0000 (13:41 -0400)]
Enable non-Unix group support for LDAP sudoers.  We now check for
non-Unix groups and netgroups with the same query in the second
pass.  Bug #571

12 years agoSet yacc prefix to "sudoers" to avoid conflicts other yacc parsers.
Todd C. Miller [Fri, 14 Sep 2012 20:19:25 +0000 (16:19 -0400)]
Set yacc prefix to "sudoers" to avoid conflicts other yacc parsers.

12 years agoMention support for SUCCESS=return in /etc/nsswitch.conf
Todd C. Miller [Wed, 12 Sep 2012 19:13:49 +0000 (15:13 -0400)]
Mention support for SUCCESS=return in /etc/nsswitch.conf

12 years agosudo 1.8.6p1
Todd C. Miller [Wed, 12 Sep 2012 18:37:27 +0000 (14:37 -0400)]
sudo 1.8.6p1

12 years agoAvoid setting LOGNAME, USER and USERNAME variables twice when
Todd C. Miller [Tue, 11 Sep 2012 14:24:20 +0000 (10:24 -0400)]
Avoid setting LOGNAME, USER and USERNAME variables twice when
set_logname is enabled.

12 years agoFix duplicate detection in sudo_putenv(), do not prune out the
Todd C. Miller [Tue, 11 Sep 2012 14:22:37 +0000 (10:22 -0400)]
Fix duplicate detection in sudo_putenv(), do not prune out the
variable we just set when overwriting an existing instance.
Fixes bug #570

12 years agoAdd some debuggging
Todd C. Miller [Tue, 11 Sep 2012 14:21:32 +0000 (10:21 -0400)]
Add some debuggging

12 years agoDisable word wrap in list mode when stdout is a pipe to make "sudo
Todd C. Miller [Tue, 4 Sep 2012 14:44:34 +0000 (10:44 -0400)]
Disable word wrap in list mode when stdout is a pipe to make "sudo
-l | grep ..." more useful.  Adapted from a diff by Daniel Kopecek.

12 years agoPrint a trailing newline in lbuf_print() when there is not enough
Todd C. Miller [Tue, 4 Sep 2012 14:42:09 +0000 (10:42 -0400)]
Print a trailing newline in lbuf_print() when there is not enough
space to do word wrapping and the lbuf does not end with a newline.

12 years agoAdd support for [SUCCESS=return] in nsswitch.conf; from Daniel Kopecek
Todd C. Miller [Tue, 4 Sep 2012 13:22:10 +0000 (09:22 -0400)]
Add support for [SUCCESS=return] in nsswitch.conf; from Daniel Kopecek

12 years agoAdd sssd.c
Todd C. Miller [Tue, 4 Sep 2012 13:07:33 +0000 (09:07 -0400)]
Add sssd.c

12 years agoregen .po files
Todd C. Miller [Sat, 1 Sep 2012 21:10:36 +0000 (17:10 -0400)]
regen .po files

12 years agoAdd Vietnamese sudoers translation from translationproject.org
Todd C. Miller [Sat, 1 Sep 2012 21:00:49 +0000 (17:00 -0400)]
Add Vietnamese sudoers translation from translationproject.org

12 years agomention PIE
Todd C. Miller [Sat, 1 Sep 2012 17:10:16 +0000 (13:10 -0400)]
mention PIE

12 years agoAdd Vietnamese sudoers translation from translationproject.org
Todd C. Miller [Sat, 1 Sep 2012 17:10:04 +0000 (13:10 -0400)]
Add Vietnamese sudoers translation from translationproject.org

12 years agoAdd missing signame dependency
Todd C. Miller [Wed, 29 Aug 2012 20:08:02 +0000 (16:08 -0400)]
Add missing signame dependency

12 years agoSilence compiler warnings.
Todd C. Miller [Wed, 29 Aug 2012 18:40:25 +0000 (14:40 -0400)]
Silence compiler warnings.

12 years agoReplace strsigname() with sig2str(), emulating it as needed.
Todd C. Miller [Wed, 29 Aug 2012 18:25:09 +0000 (14:25 -0400)]
Replace strsigname() with sig2str(), emulating it as needed.

12 years agoUse fseeko() for legacy utmp handling if available.
Todd C. Miller [Wed, 29 Aug 2012 14:32:49 +0000 (10:32 -0400)]
Use fseeko() for legacy utmp handling if available.

12 years agoDetect sys_sigabbrev[] and use it in place of sys_signame[] if
Todd C. Miller [Tue, 28 Aug 2012 14:11:38 +0000 (10:11 -0400)]
Detect sys_sigabbrev[] and use it in place of sys_signame[] if
present.  For some reason glibc does not declare sys_sigabbrev so
we must add an extern definition of our own.

12 years agoHandle NULL entries in sys_siglist and sys_signame.
Todd C. Miller [Tue, 28 Aug 2012 13:40:56 +0000 (09:40 -0400)]
Handle NULL entries in sys_siglist and sys_signame.

12 years agoConvert my_sys_sig{list,name} -> sudo_sys_sig{list,name}
Todd C. Miller [Tue, 28 Aug 2012 13:28:25 +0000 (09:28 -0400)]
Convert my_sys_sig{list,name} -> sudo_sys_sig{list,name}

12 years agosync
Todd C. Miller [Mon, 27 Aug 2012 15:28:38 +0000 (11:28 -0400)]
sync

12 years agoPass on SIGTSTP to the command if it was sent by a user process
Todd C. Miller [Mon, 27 Aug 2012 15:22:33 +0000 (11:22 -0400)]
Pass on SIGTSTP to the command if it was sent by a user process
(not the kernel or the terminal) when we are not I/O logging and
set the default SIGTSTP handler when we re-send the signal to
ourself, restoring our handler after we resume.

12 years agoShells typically change their process group when they start up so
Todd C. Miller [Mon, 27 Aug 2012 14:29:59 +0000 (10:29 -0400)]
Shells typically change their process group when they start up so
that they can implement job control.  Most well-behaved shells
change the pgrp back to its original value before suspending so we
must not try to restore in that case, lest we race with the child
upon resume, potentially stopping sudo with SIGTTOU while the command
continues to run.  Some shells, such as pdksh, just suspend the
shell by sending SIGSTOP to themselves without restoring the pgrp.
In this case we need to change the pgrp back for them.
Should fix bug #568

12 years agoUse strsigname() to print signal names in the debug output.
Todd C. Miller [Mon, 27 Aug 2012 00:12:51 +0000 (20:12 -0400)]
Use strsigname() to print signal names in the debug output.
If the system has no strsigname(), use our own.

12 years agoRemove generated file and change path for temporary include file.
Todd C. Miller [Thu, 23 Aug 2012 18:57:57 +0000 (14:57 -0400)]
Remove generated file and change path for temporary include file.

12 years agoWhen running regress tests, list pass/fail rate for each dir
Todd C. Miller [Thu, 23 Aug 2012 18:47:58 +0000 (14:47 -0400)]
When running regress tests, list pass/fail rate for each dir
(testsudoers and visudo) instead of the total.  Also prevent the
result files from clobbering each other by keeping them in the
relevant directories.