]> granicus.if.org Git - sudo/log
sudo
12 years agoFor cat pages there is nothing to make unless DEVEL is set.
Todd C. Miller [Wed, 15 Aug 2012 19:10:50 +0000 (15:10 -0400)]
For cat pages there is nothing to make unless DEVEL is set.

12 years agoAlways use mandoc to format cat pages and remove now-extraneous
Todd C. Miller [Wed, 15 Aug 2012 14:32:25 +0000 (10:32 -0400)]
Always use mandoc to format cat pages and remove now-extraneous
nroff configure tests.

12 years agosync polypkg from git
Todd C. Miller [Wed, 15 Aug 2012 14:00:27 +0000 (10:00 -0400)]
sync polypkg from git

12 years agoUse AI_FQDN instead of AI_CANONNAME if available since "canonical"
Todd C. Miller [Wed, 15 Aug 2012 13:52:26 +0000 (09:52 -0400)]
Use AI_FQDN instead of AI_CANONNAME if available since "canonical"
is not always the same as "fully qualified".

12 years agoFix some typos.
Todd C. Miller [Tue, 14 Aug 2012 18:16:49 +0000 (14:16 -0400)]
Fix some typos.
Describe error messages not related to policy permissions.

12 years agoAdd new check_defaults() function to check (but not update) the
Todd C. Miller [Tue, 14 Aug 2012 14:45:55 +0000 (10:45 -0400)]
Add new check_defaults() function to check (but not update) the
Defaults entries.  Visudo can now use this instead of update_defaults
to check all the defaults regardless instead of just the global
Defaults entries.

12 years agoDocument sudoers log format.
Todd C. Miller [Mon, 13 Aug 2012 20:50:31 +0000 (16:50 -0400)]
Document sudoers log format.

12 years agoUpdate for sudo 1.8.5p3
Todd C. Miller [Mon, 13 Aug 2012 19:05:00 +0000 (15:05 -0400)]
Update for sudo 1.8.5p3

12 years agoAdd missing check for I/O plugin API version when checking for the
Todd C. Miller [Mon, 13 Aug 2012 18:44:54 +0000 (14:44 -0400)]
Add missing check for I/O plugin API version when checking for the
presence of I/O plugin hooks.

12 years agoCan't call debug code in the process_hooks_xxx functions() since
Todd C. Miller [Mon, 13 Aug 2012 18:39:40 +0000 (14:39 -0400)]
Can't call debug code in the process_hooks_xxx functions() since
ctime() may look up the timezone via the TZ environment variable.

12 years agoInclude signal.h before sudo_exec.h since it uses sigset_t * in the
Todd C. Miller [Fri, 10 Aug 2012 19:29:07 +0000 (15:29 -0400)]
Include signal.h before sudo_exec.h since it uses sigset_t * in the
fork_pty prototype.

12 years agoRemove OPTIONS section; options now go inside DESCRIPTION
Todd C. Miller [Fri, 10 Aug 2012 19:23:41 +0000 (15:23 -0400)]
Remove OPTIONS section; options now go inside DESCRIPTION

12 years agoregen
Todd C. Miller [Fri, 10 Aug 2012 17:18:19 +0000 (13:18 -0400)]
regen

12 years agoSync with translationproject.org and add new Slovenian translation.
Todd C. Miller [Fri, 10 Aug 2012 17:07:53 +0000 (13:07 -0400)]
Sync with translationproject.org and add new Slovenian translation.

12 years agoReduce the number of "internal error, foo overflow" messages that
Todd C. Miller [Fri, 10 Aug 2012 16:18:38 +0000 (12:18 -0400)]
Reduce the number of "internal error, foo overflow" messages that
need to be translated.

12 years agoMention HP-UX reboot fix.
Todd C. Miller [Fri, 10 Aug 2012 16:07:52 +0000 (12:07 -0400)]
Mention HP-UX reboot fix.

12 years agoSupport for using SSSD (http://fedorahosted.org/sssd/) as a sudoers
Todd C. Miller [Fri, 10 Aug 2012 15:59:26 +0000 (11:59 -0400)]
Support for using SSSD (http://fedorahosted.org/sssd/) as a sudoers
data source.  From Daniel Kopecek and Pavel Brezina.

12 years agoIf sudo.conf contains an I/O plugin but no policy plugin, use sudoers
Todd C. Miller [Thu, 9 Aug 2012 18:11:41 +0000 (14:11 -0400)]
If sudo.conf contains an I/O plugin but no policy plugin, use sudoers
for the policy plugin.  If a policy plugin is specified without an
I/O plugin, only the policy plugin will be loaded.

12 years agoDo not modify the .Os section when building the .man.in file from
Todd C. Miller [Thu, 9 Aug 2012 15:47:01 +0000 (11:47 -0400)]
Do not modify the .Os section when building the .man.in file from
.mdoc.in.

12 years agoAdd a note about wildcards matching multiple words and include an
Todd C. Miller [Thu, 9 Aug 2012 15:36:25 +0000 (11:36 -0400)]
Add a note about wildcards matching multiple words and include an
example.  Also mention that for sudoedit, a wildcard in command
line args does not match a slash.

12 years agoFix a comment, update a variable name in a prototype; all cosmetic.
Todd C. Miller [Tue, 7 Aug 2012 18:47:58 +0000 (14:47 -0400)]
Fix a comment, update a variable name in a prototype; all cosmetic.

12 years agoCast 2nd argument of lseek() to off_t if it is a constant for systems
Todd C. Miller [Tue, 7 Aug 2012 18:42:08 +0000 (14:42 -0400)]
Cast 2nd argument of lseek() to off_t if it is a constant for systems
with 64-bit off_t but without a proper lseek() prototype.

12 years agoFix some warnings from clang checker-267
Todd C. Miller [Tue, 7 Aug 2012 15:01:28 +0000 (11:01 -0400)]
Fix some warnings from clang checker-267

12 years agoFix memory leak found by clang checker-267
Todd C. Miller [Tue, 7 Aug 2012 14:27:55 +0000 (10:27 -0400)]
Fix memory leak found by clang checker-267

12 years agoIf we receive a signal from the command we executed, do not forward
Todd C. Miller [Mon, 6 Aug 2012 18:38:35 +0000 (14:38 -0400)]
If we receive a signal from the command we executed, do not forward
it back to the command.  This fixes a problem with BSD-derived
versions of the reboot command which send SIGTERM to all other
processes, including the sudo process.  Sudo would then deliver
SIGTERM to reboot which would die before calling the reboot() system
call, effectively leaving the system in single user mode.

12 years agoRemove section about Solaris 10 on other systems.
Todd C. Miller [Fri, 3 Aug 2012 13:27:39 +0000 (09:27 -0400)]
Remove section about Solaris 10 on other systems.
Add missing sudoers.man.in bit to fixman.sh.

12 years agoExpand section on Solaris privileges.
Todd C. Miller [Fri, 3 Aug 2012 01:11:25 +0000 (21:11 -0400)]
Expand section on Solaris privileges.

12 years agoExpand a bit on the Solaris priv set changes.
Todd C. Miller [Thu, 2 Aug 2012 20:48:35 +0000 (16:48 -0400)]
Expand a bit on the Solaris priv set changes.

12 years agoThe second argument to init_parser() is now bool.
Todd C. Miller [Thu, 2 Aug 2012 19:40:11 +0000 (15:40 -0400)]
The second argument to init_parser() is now bool.

12 years agoFix printing of parse error message to stderr.
Todd C. Miller [Thu, 2 Aug 2012 19:37:48 +0000 (15:37 -0400)]
Fix printing of parse error message to stderr.

12 years agoIf a command matches using an empty Runas_List (i.e. Runas_List is
Todd C. Miller [Thu, 2 Aug 2012 18:37:32 +0000 (14:37 -0400)]
If a command matches using an empty Runas_List (i.e. Runas_List is
present but empty) and the -u option was not specified, set runas_pw
to user_pw instead of using runas_default.  This is intended to be
used in conjunction with the Solaris Privilege Set support for rules
that grant privileges without changing the user.

12 years agoAdd support for parsing an empty Runas_List, which only allows the
Todd C. Miller [Thu, 2 Aug 2012 18:02:54 +0000 (14:02 -0400)]
Add support for parsing an empty Runas_List, which only allows the
command to be run as the invoking user.  This can be used in
conjunction with the Solaris Privilege Set support to grant privileges
without changing the user.

12 years agoFix HP-UX, just use ".TH name section" like the vendor manuals.
Todd C. Miller [Wed, 1 Aug 2012 19:28:02 +0000 (15:28 -0400)]
Fix HP-UX, just use ".TH name section" like the vendor manuals.

12 years agoFix compilation on Solaris
Todd C. Miller [Wed, 1 Aug 2012 18:57:14 +0000 (14:57 -0400)]
Fix compilation on Solaris

12 years agoGenerate a sed script file when munging *.mdoc or *.man instead of
Todd C. Miller [Wed, 1 Aug 2012 18:38:52 +0000 (14:38 -0400)]
Generate a sed script file when munging *.mdoc or *.man instead of
passing sed expressions on the command line.  Older seds do not
support \n in a replacement so generate and run a sed script instead.

12 years agoUse "Sudo VERSION" as the 4th arg to .TH instead of just "VERSION"
Todd C. Miller [Wed, 1 Aug 2012 14:54:09 +0000 (10:54 -0400)]
Use "Sudo VERSION" as the 4th arg to .TH instead of just "VERSION"

12 years agoWhen checking whether a signal is user-generated, compare si_code
Todd C. Miller [Tue, 31 Jul 2012 17:36:48 +0000 (13:36 -0400)]
When checking whether a signal is user-generated, compare si_code
against SI_USER instead of <= 0 since on HP-UX, terminal-related
signals get a code of 0.

12 years agoSuSE Enterprise Linux uses RLIMIT_NPROC and _SC_CHILD_MAX interchangably.
Todd C. Miller [Tue, 31 Jul 2012 15:11:25 +0000 (11:11 -0400)]
SuSE Enterprise Linux uses RLIMIT_NPROC and _SC_CHILD_MAX interchangably.
This causes problems when setting RLIMIT_NPROC to RLIM_INFINITY due
to a bug in bash where bash tries to honor the value of _SC_CHILD_MAX
but treats a value of -1 as an error, and uses a default value of
32 instead.

Previously, we just checked RLIMIT_NPROC and, if it was unlimited,
restored the previous value of RLIMIT_NPROC.  However, that makes
it impossible to set nproc to unlimited.  We now only restore the
nproc resource limit if sysconf(_SC_CHILD_MAX) is negative.  In
most cases, pam_limits will set RLIMIT_NPROC for us.

12 years agoActive Directory apparently requires that tenths of a second be
Todd C. Miller [Mon, 30 Jul 2012 15:09:11 +0000 (11:09 -0400)]
Active Directory apparently requires that tenths of a second be
present in a date so append .0 to the "now" value in the time filter.
Also remove space for the global AND from TIMEFILTER_LENGTH since
it was not being used consistently.  Buffers of TIMEFILTER_LENGTH
now need to account for the terminating NUL byte.

12 years agoFix SELinux build
Todd C. Miller [Mon, 30 Jul 2012 15:01:32 +0000 (11:01 -0400)]
Fix SELinux build

12 years agoRemove pod versinons of HISTORY, CONTRIBUTORS and LICENSE as they
Todd C. Miller [Sun, 29 Jul 2012 18:17:57 +0000 (14:17 -0400)]
Remove pod versinons of HISTORY, CONTRIBUTORS and LICENSE as they
were not being kept in sync.

12 years agoRemove pod versinons of HISTORY, CONTRIBUTORS and LICENSE as they
Todd C. Miller [Sun, 29 Jul 2012 18:17:22 +0000 (14:17 -0400)]
Remove pod versinons of HISTORY, CONTRIBUTORS and LICENSE as they
were not being kept in sync.

12 years agoFix printing of the permission denied message to standard error
Todd C. Miller [Fri, 27 Jul 2012 20:22:09 +0000 (16:22 -0400)]
Fix printing of the permission denied message to standard error
when a user is not allowed to run a command.  This got broken by
the recent logging changes.

12 years agoBump grammar version for Solaris privs.
Todd C. Miller [Fri, 27 Jul 2012 19:32:42 +0000 (15:32 -0400)]
Bump grammar version for Solaris privs.

12 years agoFix errors introduced when sudoNotBefore, sudoNotAfter and sudoOrder
Todd C. Miller [Fri, 27 Jul 2012 18:25:48 +0000 (14:25 -0400)]
Fix errors introduced when sudoNotBefore, sudoNotAfter and sudoOrder
were added.  From David Hicks.

12 years agoRemove lex.yy.c when building toke.c
Todd C. Miller [Thu, 26 Jul 2012 18:31:05 +0000 (14:31 -0400)]
Remove lex.yy.c when building toke.c

12 years agoFix building docs in a build dir.
Todd C. Miller [Thu, 26 Jul 2012 18:05:55 +0000 (14:05 -0400)]
Fix building docs in a build dir.

12 years agoRemove pod versions of the manual; we now use mdoc.
Todd C. Miller [Thu, 26 Jul 2012 17:51:43 +0000 (13:51 -0400)]
Remove pod versions of the manual; we now use mdoc.

12 years agoAdd post-processing scripts to strip out login class, BSD auth,
Todd C. Miller [Thu, 26 Jul 2012 17:50:26 +0000 (13:50 -0400)]
Add post-processing scripts to strip out login class, BSD auth,
SELinux and privilege set bits when they are not supported.

12 years agoMerge in Solaris privilege support by Darren Moffat and John Zolnowsky
Todd C. Miller [Thu, 26 Jul 2012 17:49:21 +0000 (13:49 -0400)]
Merge in Solaris privilege support by Darren Moffat and John Zolnowsky

12 years agoSync with CONTRIBUTORS file
Todd C. Miller [Wed, 25 Jul 2012 17:52:04 +0000 (13:52 -0400)]
Sync with CONTRIBUTORS file

12 years agoRegen .man.in files with my private mandoc.
Todd C. Miller [Wed, 25 Jul 2012 14:34:20 +0000 (10:34 -0400)]
Regen .man.in files with my private mandoc.

12 years agoadd MANDOC variable
Todd C. Miller [Wed, 25 Jul 2012 10:32:05 +0000 (06:32 -0400)]
add MANDOC variable

12 years agoRegen .man.in files with hacked mandoc to avoid issues with historic
Todd C. Miller [Fri, 20 Jul 2012 18:28:41 +0000 (14:28 -0400)]
Regen .man.in files with hacked mandoc to avoid issues with historic
nroff.

12 years agoFix groff warnings.
Todd C. Miller [Thu, 19 Jul 2012 21:13:19 +0000 (17:13 -0400)]
Fix groff warnings.

12 years agoFix dependencies for .man.in files.
Todd C. Miller [Thu, 19 Jul 2012 20:21:07 +0000 (16:21 -0400)]
Fix dependencies for .man.in files.

12 years agoAdd doc/*.mdoc to ignore file
Todd C. Miller [Thu, 19 Jul 2012 17:42:41 +0000 (13:42 -0400)]
Add doc/*.mdoc to ignore file

12 years agoBuild .man.in and .cat files from .mdoc.in files.
Todd C. Miller [Thu, 19 Jul 2012 17:41:14 +0000 (13:41 -0400)]
Build .man.in and .cat files from .mdoc.in files.
Add new --with-man and --with-mdoc configure options.

12 years agoSudo manuals formatted in mdoc, to replace the pod versions.
Todd C. Miller [Wed, 18 Jul 2012 13:56:53 +0000 (09:56 -0400)]
Sudo manuals formatted in mdoc, to replace the pod versions.

12 years agoMore minor costmetic fixes.
Todd C. Miller [Wed, 18 Jul 2012 13:16:09 +0000 (09:16 -0400)]
More minor costmetic fixes.

12 years agoMinor cosmetic fixes.
Todd C. Miller [Thu, 12 Jul 2012 19:16:04 +0000 (15:16 -0400)]
Minor cosmetic fixes.

12 years agoUse "a password is required" instead of "password required" when
Todd C. Miller [Wed, 11 Jul 2012 20:28:40 +0000 (16:28 -0400)]
Use "a password is required" instead of "password required" when
the -n flag is used and we need to read a password.

12 years agoMention logging changes.
Todd C. Miller [Tue, 10 Jul 2012 18:59:30 +0000 (14:59 -0400)]
Mention logging changes.

12 years agoregen
Todd C. Miller [Tue, 10 Jul 2012 18:53:52 +0000 (14:53 -0400)]
regen

12 years agoDocument that other mail_* flags have precedence over mail_badpass.
Todd C. Miller [Tue, 10 Jul 2012 18:42:57 +0000 (14:42 -0400)]
Document that other mail_* flags have precedence over mail_badpass.

12 years agoMove log_denial() calls and logic to log_failure().
Todd C. Miller [Tue, 10 Jul 2012 16:42:33 +0000 (12:42 -0400)]
Move log_denial() calls and logic to log_failure().
Move authentication failure logging to log_auth_failure().
Both of these call audit_failure() for us.

This subtly changes logging for commands that are denied by sudoers
but where the user failed to enter the correct password.  Previously,
these would be logged as "N incorrect password attempts" but now
are logged as "command not allowed".  Fixes bug #563

12 years agoDo not set a resource limit to zero when we are unable to fetch a
Todd C. Miller [Fri, 6 Jul 2012 14:10:03 +0000 (10:10 -0400)]
Do not set a resource limit to zero when we are unable to fetch a
value from /etc/security/limits.

12 years agoAdd "Provides: sudo" to debian sudo-ldap package
Todd C. Miller [Thu, 5 Jul 2012 13:34:20 +0000 (09:34 -0400)]
Add "Provides: sudo" to debian sudo-ldap package

12 years agoDefine NO_VIZ for zlib when gcc doesn't support symbol visibility
Todd C. Miller [Mon, 2 Jul 2012 17:34:35 +0000 (13:34 -0400)]
Define NO_VIZ for zlib when gcc doesn't support symbol visibility
attributes.

12 years agoUse the autoconf cache when checking for symbol export control support.
Todd C. Miller [Mon, 2 Jul 2012 15:20:05 +0000 (11:20 -0400)]
Use the autoconf cache when checking for symbol export control support.

12 years agoAdd configure check for building PIE executables instead of doing
Todd C. Miller [Mon, 2 Jul 2012 14:12:41 +0000 (10:12 -0400)]
Add configure check for building PIE executables instead of doing
it in mkpkg.

12 years agoMacOS pp backend doesn't like modes longer than 4 characters.
Todd C. Miller [Mon, 2 Jul 2012 12:24:57 +0000 (08:24 -0400)]
MacOS pp backend doesn't like modes longer than 4 characters.

12 years agoAdd -Wc,-fstack-protector to LT_LDFLAGS instead of adding
Todd C. Miller [Sun, 1 Jul 2012 17:47:25 +0000 (13:47 -0400)]
Add -Wc,-fstack-protector to LT_LDFLAGS instead of adding
-fstack-protector to LDFLAGS so it doesn't get stripped out.  Libtool
will strip -fstack-protector from the linker flags and we always
link with libtool.

12 years agoRegen for sudo 1.8.6
Todd C. Miller [Fri, 29 Jun 2012 20:11:27 +0000 (16:11 -0400)]
Regen for sudo 1.8.6

12 years agoDocument improved Tivoli Directory Server support.
Todd C. Miller [Fri, 29 Jun 2012 16:41:59 +0000 (12:41 -0400)]
Document improved Tivoli Directory Server support.

12 years agoAdd support for ldaps using Tivoli LDAP libraries.
Todd C. Miller [Fri, 29 Jun 2012 16:14:45 +0000 (12:14 -0400)]
Add support for ldaps using Tivoli LDAP libraries.
Add ldap.conf option to specify Tivoli key db password.
Allow TLS ciphers to be configured for Tivoli.

12 years agoTivoli Directory Server 6.3 libs always return a (bogus) error
Todd C. Miller [Thu, 28 Jun 2012 19:42:38 +0000 (15:42 -0400)]
Tivoli Directory Server 6.3 libs always return a (bogus) error
when setting LDAP_OPT_CONNECT_TIMEOUT.

12 years agoUpdate
Todd C. Miller [Thu, 28 Jun 2012 19:01:02 +0000 (15:01 -0400)]
Update

12 years agoTreat LDAP_OPT_CONNECT_TIMEOUT (Tivoli Directory Server 6.3) the
Todd C. Miller [Thu, 28 Jun 2012 18:58:15 +0000 (14:58 -0400)]
Treat LDAP_OPT_CONNECT_TIMEOUT (Tivoli Directory Server 6.3) the
same as LDAP_OPT_CONNECT_TIMEOUT (OpenSSH).
Don't make failure to a set an ldap option fatal.

12 years agoZero pointers in sudo_user struct after freeing, just in case.
Todd C. Miller [Wed, 27 Jun 2012 21:04:39 +0000 (17:04 -0400)]
Zero pointers in sudo_user struct after freeing, just in case.

12 years agoFree user_gids in close function if it has not already been freed.
Todd C. Miller [Wed, 27 Jun 2012 20:56:55 +0000 (16:56 -0400)]
Free user_gids in close function if it has not already been freed.

12 years agoDefer group ID to name resolution until we actually need it.
Todd C. Miller [Wed, 27 Jun 2012 20:50:56 +0000 (16:50 -0400)]
Defer group ID to name resolution until we actually need it.

12 years agoIt is safe to read in sudo.conf before calling user_info().
Todd C. Miller [Wed, 27 Jun 2012 19:17:18 +0000 (15:17 -0400)]
It is safe to read in sudo.conf before calling user_info().

12 years agoUse MAX_UID_T_LEN + 1 for uid/gid buffers, not MAX_UID_T_LEN to
Todd C. Miller [Wed, 27 Jun 2012 17:41:58 +0000 (13:41 -0400)]
Use MAX_UID_T_LEN + 1 for uid/gid buffers, not MAX_UID_T_LEN to
prevent potential truncation.  Bug #562.

12 years agoIf installing with installp, error out if there is already an
Todd C. Miller [Mon, 25 Jun 2012 20:16:25 +0000 (16:16 -0400)]
If installing with installp, error out if there is already an
instance of the rpm package installed.

12 years agoAdd --disable-nls for AIX
Todd C. Miller [Mon, 25 Jun 2012 18:00:11 +0000 (14:00 -0400)]
Add --disable-nls for AIX

12 years agoDebian sudo-ldap packages should now depend on libldap-2.4-2, not
Todd C. Miller [Fri, 22 Jun 2012 14:57:23 +0000 (10:57 -0400)]
Debian sudo-ldap packages should now depend on libldap-2.4-2, not
libldap2.

12 years agoAdd Homepage and Bugs to debian control file.
Todd C. Miller [Thu, 21 Jun 2012 17:41:39 +0000 (13:41 -0400)]
Add Homepage and Bugs to debian control file.

12 years agofix typo when setting aix_freeware
Todd C. Miller [Wed, 20 Jun 2012 18:18:14 +0000 (14:18 -0400)]
fix typo when setting aix_freeware

12 years agoDon't run regress tests or sudoers sanity check (using the newly-built
Todd C. Miller [Wed, 20 Jun 2012 17:38:17 +0000 (13:38 -0400)]
Don't run regress tests or sudoers sanity check (using the newly-built
visudo) when cross compiling.  Bug #560

12 years agoRename foo.sym -> foo.exp
Todd C. Miller [Wed, 20 Jun 2012 16:58:16 +0000 (12:58 -0400)]
Rename foo.sym -> foo.exp
Remove foo.map from the repo and generate it on demand
Use a loader option file for HP-UX ld to explicitly export symbols

12 years agoRemove extraneous backslash
Todd C. Miller [Wed, 20 Jun 2012 16:32:51 +0000 (12:32 -0400)]
Remove extraneous backslash

12 years agoDon't check for errorx as an exported symbols as it is now a macro.
Todd C. Miller [Wed, 20 Jun 2012 13:38:25 +0000 (09:38 -0400)]
Don't check for errorx as an exported symbols as it is now a macro.
Check for user_in_group() instead.

12 years agoAdjust ld map file support to use an anonymous scope to match the
Todd C. Miller [Tue, 19 Jun 2012 17:23:37 +0000 (13:23 -0400)]
Adjust ld map file support to use an anonymous scope to match the
updated .map files.

12 years agoOlder versions of Solaris lack ngettext()
Todd C. Miller [Mon, 18 Jun 2012 18:29:06 +0000 (14:29 -0400)]
Older versions of Solaris lack ngettext()

12 years agoMove the check for -static-libgcc until after AC_LANG_WERROR
Todd C. Miller [Mon, 18 Jun 2012 18:10:50 +0000 (14:10 -0400)]
Move the check for -static-libgcc until after AC_LANG_WERROR
has been called and use AX_CHECK_COMPILE_FLAG().

12 years agoSudo defines HAVE_SETLOCALE not HAVE_LOCALE_H
Todd C. Miller [Mon, 18 Jun 2012 18:03:39 +0000 (14:03 -0400)]
Sudo defines HAVE_SETLOCALE not HAVE_LOCALE_H

12 years agoFix gcc 2.x variant macro support.
Todd C. Miller [Mon, 18 Jun 2012 18:03:11 +0000 (14:03 -0400)]
Fix gcc 2.x variant macro support.

12 years agoFix compilation on gcc 2.95 and other compilers that only allow
Todd C. Miller [Mon, 18 Jun 2012 17:47:01 +0000 (13:47 -0400)]
Fix compilation on gcc 2.95 and other compilers that only allow
variable declarations at the beginning of a block.

12 years agoLink check_symbols with SUDO_LIBS to make sure we link with the
Todd C. Miller [Mon, 18 Jun 2012 14:21:05 +0000 (10:21 -0400)]
Link check_symbols with SUDO_LIBS to make sure we link with the
requisite libraries to successfully dlopen sudoers.so.  This is
needed on HP-UX where a program dlopen()ing a shared object that
uses pthreads must also be linked with pthreads (and HP-UX LDAP
uses pthreads).