]> granicus.if.org Git - sudo/log
sudo
11 years agoAdded tag SUDO_1_7_10p7 for changeset d95631aa92d9
Todd C. Miller [Fri, 1 Mar 2013 16:12:23 +0000 (11:12 -0500)]
Added tag SUDO_1_7_10p7 for changeset d95631aa92d9

--HG--
branch : 1.7

11 years agoSudo 1.7.10p7 SUDO_1_7_10p7
Todd C. Miller [Fri, 1 Mar 2013 16:11:45 +0000 (11:11 -0500)]
Sudo 1.7.10p7

--HG--
branch : 1.7

11 years agoAdded tag SUDO_1_7_10p7 for changeset ddf399e3e306
Todd C. Miller [Mon, 25 Feb 2013 20:07:38 +0000 (15:07 -0500)]
Added tag SUDO_1_7_10p7 for changeset ddf399e3e306

--HG--
branch : 1.7

11 years agoCompletely ignore time stamp file if it is set to the epoch,
Todd C. Miller [Thu, 21 Feb 2013 15:05:25 +0000 (10:05 -0500)]
Completely ignore time stamp file if it is set to the epoch,
regardless of what gettimeofday() returns.

--HG--
branch : 1.7

11 years agoMake display_cmnd() return value match trunk version.
Todd C. Miller [Tue, 19 Feb 2013 19:41:41 +0000 (14:41 -0500)]
Make display_cmnd() return value match trunk version.
Fixes exit status of "sudo -l command".

--HG--
branch : 1.7

11 years ago#include "sudo_usage.h" not <sudo_usage.h> so we get the one in the
Todd C. Miller [Fri, 15 Feb 2013 15:27:21 +0000 (10:27 -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.

--HG--
branch : 1.7

11 years agoAdded tag SUDO_1_7_10p6 for changeset 882475dfa47c
Todd C. Miller [Sun, 10 Feb 2013 23:44:16 +0000 (18:44 -0500)]
Added tag SUDO_1_7_10p6 for changeset 882475dfa47c

--HG--
branch : 1.7

11 years agoSudo 1.7.10p6 SUDO_1_7_10p6
Todd C. Miller [Sun, 10 Feb 2013 23:44:05 +0000 (18:44 -0500)]
Sudo 1.7.10p6

--HG--
branch : 1.7

11 years agoSync with autoconf 2.68
Todd C. Miller [Sun, 10 Feb 2013 23:36:13 +0000 (18:36 -0500)]
Sync with autoconf 2.68

--HG--
branch : 1.7

11 years agoMove call the save_signals() to before SIGINT, SIGQUIT and SIGTSTP
Todd C. Miller [Sun, 10 Feb 2013 23:24:56 +0000 (18:24 -0500)]
Move call the save_signals() to before SIGINT, SIGQUIT and SIGTSTP
are set to SIG_IGN.

--HG--
branch : 1.7

11 years agoStore the session ID in the tty ticket file too. A tty may only
Todd C. Miller [Fri, 8 Feb 2013 15:42:32 +0000 (10:42 -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.

--HG--
branch : 1.7

11 years agoAdded tag SUDO_1_7_10p5 for changeset 765958d9ee1e
Todd C. Miller [Thu, 31 Jan 2013 21:09:23 +0000 (16:09 -0500)]
Added tag SUDO_1_7_10p5 for changeset 765958d9ee1e

--HG--
branch : 1.7

11 years agoSudo 1.7.10p5 SUDO_1_7_10p5
Todd C. Miller [Thu, 31 Jan 2013 21:09:09 +0000 (16:09 -0500)]
Sudo 1.7.10p5

--HG--
branch : 1.7

11 years agoUpdate copyright year
Todd C. Miller [Thu, 31 Jan 2013 21:09:04 +0000 (16:09 -0500)]
Update copyright year

--HG--
branch : 1.7

11 years agoFix potential stack overflow due to infinite recursion in alias
Todd C. Miller [Thu, 31 Jan 2013 16:12:53 +0000 (11:12 -0500)]
Fix potential stack overflow due to infinite recursion in alias
cycle detection. From Daniel Kopecek.

--HG--
branch : 1.7

11 years agoRemove ttyname() fall back code on systems where we can query the
Todd C. Miller [Thu, 31 Jan 2013 16:10:23 +0000 (11:10 -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}.

--HG--
branch : 1.7

12 years agoAdded tag SUDO_1_7_10p4 for changeset a5ea48905d46
Todd C. Miller [Tue, 15 Jan 2013 21:54:23 +0000 (16:54 -0500)]
Added tag SUDO_1_7_10p4 for changeset a5ea48905d46

--HG--
branch : 1.7

12 years agoSudo 1.7.10p4 SUDO_1_7_10p4
Todd C. Miller [Tue, 15 Jan 2013 20:40:33 +0000 (15:40 -0500)]
Sudo 1.7.10p4

--HG--
branch : 1.7

12 years agoUse -fstack-protector-all in preference to -fstack-protector where
Todd C. Miller [Tue, 15 Jan 2013 20:38:11 +0000 (15:38 -0500)]
Use -fstack-protector-all in preference to -fstack-protector where
supported and restrict the test to GNU compatible compilers.

--HG--
branch : 1.7

12 years agoBreak out stack smashing protector options into SSP_CFLAGS and
Todd C. Miller [Tue, 15 Jan 2013 20:02:15 +0000 (15:02 -0500)]
Break out stack smashing protector options into SSP_CFLAGS and
SSP_LDFLAGS so we can use it everywhere.

--HG--
branch : 1.7

12 years agoAvoid NULL deref for unknown Defaults in strict mode.
Todd C. Miller [Tue, 15 Jan 2013 19:55:34 +0000 (14:55 -0500)]
Avoid NULL deref for unknown Defaults in strict mode.

--HG--
branch : 1.7

12 years agoDo not inform the user that the command was not permitted by the
Todd C. Miller [Tue, 15 Jan 2013 19:54:49 +0000 (14:54 -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.7.10.

--HG--
branch : 1.7

12 years agoThe -a option should be #ifdef HAVE_BSD_AUTH_H, not -A.
Todd C. Miller [Tue, 15 Jan 2013 19:50:08 +0000 (14:50 -0500)]
The -a option should be #ifdef HAVE_BSD_AUTH_H, not -A.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoIn rbrepair(), make sure we never try to change the color of the
Todd C. Miller [Tue, 1 Jan 2013 21:24:29 +0000 (16:24 -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

--HG--
branch : 1.7

12 years agoNo need to restore default signal handler for SIGSTOP as it is not
Todd C. Miller [Tue, 1 Jan 2013 21:23:37 +0000 (16:23 -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.

--HG--
branch : 1.7

12 years agoDisable PIE on FreeBSD/ia64, otherwise sudo will segfault.
Todd C. Miller [Tue, 1 Jan 2013 21:21:58 +0000 (16:21 -0500)]
Disable PIE on FreeBSD/ia64, otherwise sudo will segfault.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoSet gid to 0 when creating I/O log directories.
Todd C. Miller [Tue, 13 Nov 2012 16:03:48 +0000 (11:03 -0500)]
Set gid to 0 when creating I/O log directories.

--HG--
branch : 1.7

12 years agosync with upstream
Todd C. Miller [Tue, 13 Nov 2012 14:46:47 +0000 (09:46 -0500)]
sync with upstream

--HG--
branch : 1.7

12 years agoAdd support for SUDO_PREINSTALL_CMD so we can correct the LDAP lib
Todd C. Miller [Tue, 13 Nov 2012 14:44:32 +0000 (09:44 -0500)]
Add support for SUDO_PREINSTALL_CMD so we can correct the LDAP lib
path for HP-UX SOM binaries.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoFix running commands that need the terminal in the background when
Todd C. Miller [Mon, 24 Sep 2012 19:09:32 +0000 (15:09 -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.

--HG--
branch : 1.7

12 years agoAdded tag SUDO_1_7_10p3 for changeset 235ca8006055
Todd C. Miller [Wed, 19 Sep 2012 18:37:48 +0000 (14:37 -0400)]
Added tag SUDO_1_7_10p3 for changeset 235ca8006055

--HG--
branch : 1.7

12 years agoUse 1/0 not TRUE/FALSE. SUDO_1_7_10p3
Todd C. Miller [Wed, 19 Sep 2012 18:37:21 +0000 (14:37 -0400)]
Use 1/0 not TRUE/FALSE.

--HG--
branch : 1.7

12 years agosudo 1.7.10p3
Todd C. Miller [Tue, 18 Sep 2012 14:03:28 +0000 (10:03 -0400)]
sudo 1.7.10p3

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoAdded tag SUDO_1_7_10p2 for changeset 60d2336634f5
Todd C. Miller [Mon, 17 Sep 2012 01:07:00 +0000 (21:07 -0400)]
Added tag SUDO_1_7_10p2 for changeset 60d2336634f5

--HG--
branch : 1.7

12 years agoSudo 1.7.10p2 SUDO_1_7_10p2
Todd C. Miller [Mon, 17 Sep 2012 01:06:51 +0000 (21:06 -0400)]
Sudo 1.7.10p2

--HG--
branch : 1.7

12 years agoWhen setting the signal handler for SIGTSTP to the default value
Todd C. Miller [Mon, 17 Sep 2012 01:05:54 +0000 (21:05 -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.

--HG--
branch : 1.7

12 years agoAdded tag SUDO_1_7_10p1 for changeset a8330024abe7
Todd C. Miller [Wed, 12 Sep 2012 19:34:03 +0000 (15:34 -0400)]
Added tag SUDO_1_7_10p1 for changeset a8330024abe7

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoAdded tag SUDO_1_7_10 for changeset 56db3dcb76c6
Todd C. Miller [Sat, 1 Sep 2012 22:47:59 +0000 (18:47 -0400)]
Added tag SUDO_1_7_10 for changeset 56db3dcb76c6

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agosync
Todd C. Miller [Mon, 27 Aug 2012 19:39:23 +0000 (15:39 -0400)]
sync

--HG--
branch : 1.7

12 years agoFix gcc warnings.
Todd C. Miller [Mon, 27 Aug 2012 19:39:08 +0000 (15:39 -0400)]
Fix gcc warnings.

--HG--
branch : 1.7

12 years agoPass on SIGTSTP to the command if it was sent by a user process
Todd C. Miller [Mon, 27 Aug 2012 19:38:57 +0000 (15:38 -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.

--HG--
branch : 1.7

12 years agoShells typically change their process group when they start up so
Todd C. Miller [Mon, 27 Aug 2012 19:33:31 +0000 (15:33 -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

--HG--
branch : 1.7

12 years agoQuiet gcc warnings on glibc systems that use warn_unused_result for
Todd C. Miller [Fri, 24 Aug 2012 13:08:49 +0000 (09:08 -0400)]
Quiet gcc warnings on glibc systems that use warn_unused_result for
fwrite().

--HG--
branch : 1.7

12 years agoDon't print an error message in yyerror() if open_sudoers() fails,
Todd C. Miller [Thu, 23 Aug 2012 18:21:04 +0000 (14:21 -0400)]
Don't print an error message in yyerror() if open_sudoers() fails,
we've already printed an error message.

--HG--
branch : 1.7

12 years agoSubstitute MANDIRTYPE into Makefile
Todd C. Miller [Wed, 22 Aug 2012 18:21:06 +0000 (14:21 -0400)]
Substitute MANDIRTYPE into Makefile

--HG--
branch : 1.7

12 years agoDon't remove files in GENERATED unless DEVEL is set.
Todd C. Miller [Wed, 22 Aug 2012 16:59:34 +0000 (12:59 -0400)]
Don't remove files in GENERATED unless DEVEL is set.

--HG--
branch : 1.7

12 years agosync
Todd C. Miller [Wed, 22 Aug 2012 16:49:03 +0000 (12:49 -0400)]
sync

--HG--
branch : 1.7

12 years agoMove log_denial() calls and logic to log_failure().
Todd C. Miller [Wed, 22 Aug 2012 16:47:18 +0000 (12:47 -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

--HG--
branch : 1.7

12 years agoMake the capitalization consistent for .Ss and .Sx
Todd C. Miller [Tue, 21 Aug 2012 19:11:45 +0000 (15:11 -0400)]
Make the capitalization consistent for .Ss and .Sx

--HG--
branch : 1.7

12 years agoAdd COMMAND EXECUTION section that describes how sudo runs
Todd C. Miller [Tue, 21 Aug 2012 17:01:46 +0000 (13:01 -0400)]
Add COMMAND EXECUTION section that describes how sudo runs
the command, the extra sudo processes and signal handling.

--HG--
branch : 1.7

12 years agoAdd COMMAND EXECUTION section that describes how sudo runs
Todd C. Miller [Sun, 19 Aug 2012 17:57:02 +0000 (13:57 -0400)]
Add COMMAND EXECUTION section that describes how sudo runs
the command, the extra sudo processes and signal handling.

--HG--
branch : 1.7

12 years agoHappy Easter
Todd C. Miller [Sun, 19 Aug 2012 17:56:41 +0000 (13:56 -0400)]
Happy Easter

--HG--
branch : 1.7

12 years agoAdd CONTRIBUTORS file from sudo trunk
Todd C. Miller [Sat, 18 Aug 2012 15:10:24 +0000 (11:10 -0400)]
Add CONTRIBUTORS file from sudo trunk

--HG--
branch : 1.7

12 years agoSudo manuals formatted in mdoc, to replace the pod versions,
Todd C. Miller [Fri, 17 Aug 2012 20:30:58 +0000 (16:30 -0400)]
Sudo manuals formatted in mdoc, to replace the pod versions,
back-ported from sudo trunk.

--HG--
branch : 1.7

12 years agoAdd new check_defaults() function to check (but not update) the
Todd C. Miller [Fri, 17 Aug 2012 14:31:34 +0000 (10:31 -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.

--HG--
branch : 1.7

12 years agoUse AI_FQDN instead of AI_CANONNAME if available since "canonical"
Todd C. Miller [Fri, 17 Aug 2012 14:30:26 +0000 (10:30 -0400)]
Use AI_FQDN instead of AI_CANONNAME if available since "canonical"
is not always the same as "fully qualified".

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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:41:43 +0000 (14:41 -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.

--HG--
branch : 1.7

12 years agoFix building with a K&R compiler.
Todd C. Miller [Tue, 7 Aug 2012 18:27:57 +0000 (14:27 -0400)]
Fix building with a K&R compiler.

--HG--
branch : 1.7

12 years agoIf we receive a signal from the command we executed, do not forward
Todd C. Miller [Tue, 7 Aug 2012 17:43:55 +0000 (13:43 -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.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoRegen with modified yacc skeleton.
Todd C. Miller [Tue, 7 Aug 2012 15:22:07 +0000 (11:22 -0400)]
Regen with modified yacc skeleton.

--HG--
branch : 1.7

12 years agoWhen checking whether a signal is user-generated, compare si_code
Todd C. Miller [Tue, 31 Jul 2012 17:36:59 +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.

--HG--
branch : 1.7

12 years agoActive Directory apparently requires that tenths of a second be
Todd C. Miller [Mon, 30 Jul 2012 15:15:14 +0000 (11:15 -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.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoSync with trunk version.
Todd C. Miller [Sun, 29 Jul 2012 20:29:23 +0000 (16:29 -0400)]
Sync with trunk version.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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:23 +0000 (10:10 -0400)]
Do not set a resource limit to zero when we are unable to fetch a
value from /etc/security/limits.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoOnly check for pie support when using gcc.
Todd C. Miller [Mon, 2 Jul 2012 15:19:07 +0000 (11:19 -0400)]
Only check for pie support when using gcc.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agofix version
Todd C. Miller [Fri, 29 Jun 2012 16:59:28 +0000 (12:59 -0400)]
fix version

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoAdd support for ldaps using Tivoli LDAP libraries.
Todd C. Miller [Fri, 29 Jun 2012 16:55:22 +0000 (12:55 -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.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoTreat LDAP_OPT_CONNECT_TIMEOUT (Tivoli Directory Server 6.3) the
Todd C. Miller [Thu, 28 Jun 2012 18:58:34 +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.

--HG--
branch : 1.7

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:43:30 +0000 (13:43 -0400)]
Use MAX_UID_T_LEN + 1 for uid/gid buffers, not MAX_UID_T_LEN to
prevent potential truncation.  Bug #562.

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

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

--HG--
branch : 1.7

12 years agoremove obsolete comment
Todd C. Miller [Thu, 21 Jun 2012 12:51:43 +0000 (08:51 -0400)]
remove obsolete comment

--HG--
branch : 1.7