]> granicus.if.org Git - sudo/log
sudo
11 years agoAdd regress test for bug #623
Todd C. Miller [Tue, 12 Nov 2013 16:50:36 +0000 (09:50 -0700)]
Add regress test for bug #623

11 years agoCope with a comment on the last line of the file with no newline.
Todd C. Miller [Tue, 12 Nov 2013 16:36:39 +0000 (09:36 -0700)]
Cope with a comment on the last line of the file with no newline.
Bug #623

11 years agoInclude arpa/inet.h for HP-UX; from Daniel Richard G.
Todd C. Miller [Tue, 12 Nov 2013 15:53:33 +0000 (08:53 -0700)]
Include arpa/inet.h for HP-UX; from Daniel Richard G.

11 years agoAdd missing $(mansrcdir) to visudo.mdoc and visudo.man.
Todd C. Miller [Tue, 12 Nov 2013 15:51:25 +0000 (08:51 -0700)]
Add missing $(mansrcdir) to visudo.mdoc and visudo.man.
From Daniel Richard G.

11 years agoIn v{warning,fatal}x?() make a new copy of ap for the debug functions.
Todd C. Miller [Mon, 11 Nov 2013 23:00:07 +0000 (16:00 -0700)]
In v{warning,fatal}x?() make a new copy of ap for the debug functions.
It is not legal to use ap twice without reinitializing it.
Noticed by Daniel Richard G.

11 years agoRemove errant warning_restore_locale() call.
Todd C. Miller [Mon, 11 Nov 2013 22:24:28 +0000 (15:24 -0700)]
Remove errant warning_restore_locale() call.

11 years agoMove va_copy compat macro to missing.h
Todd C. Miller [Mon, 11 Nov 2013 21:35:10 +0000 (14:35 -0700)]
Move va_copy compat macro to missing.h

11 years agoUniquify header dependencies so we don't end up with duplicates
Todd C. Miller [Mon, 11 Nov 2013 20:53:06 +0000 (13:53 -0700)]
Uniquify header dependencies so we don't end up with duplicates
when a header file includes other headers.  The header dependencies
are sorted so the generated order is stable.

11 years agoAdd getaddrinfo.lo to LTLIBOBJS for systems that need it.
Todd C. Miller [Mon, 11 Nov 2013 19:53:44 +0000 (12:53 -0700)]
Add getaddrinfo.lo to LTLIBOBJS for systems that need it.
From Daniel Richard G.

11 years agoFix pasto
Todd C. Miller [Mon, 11 Nov 2013 19:47:29 +0000 (12:47 -0700)]
Fix pasto

11 years agoFix typo.
Todd C. Miller [Thu, 7 Nov 2013 21:46:28 +0000 (14:46 -0700)]
Fix typo.

11 years agoregen
Todd C. Miller [Mon, 4 Nov 2013 17:30:12 +0000 (10:30 -0700)]
regen

11 years agoFix warnings from -Wold-style-definition
Todd C. Miller [Mon, 4 Nov 2013 13:26:37 +0000 (06:26 -0700)]
Fix warnings from -Wold-style-definition

11 years agoAdd -Wold-style-definition to --enable-warnings
Todd C. Miller [Mon, 4 Nov 2013 13:21:01 +0000 (06:21 -0700)]
Add -Wold-style-definition to --enable-warnings

11 years agoExtra debugging for ready fds.
Todd C. Miller [Mon, 4 Nov 2013 13:06:38 +0000 (06:06 -0700)]
Extra debugging for ready fds.

11 years agoWhen deleting an event, check ev->events to determine whether to
Todd C. Miller [Mon, 4 Nov 2013 13:06:01 +0000 (06:06 -0700)]
When deleting an event, check ev->events to determine whether to
remove from readfds or writefds instead of blinding removing from
both.  Also fix highfd adjustment.

11 years agoOnly check an fd that is >= 0. Timeout-only events may have a
Todd C. Miller [Sat, 2 Nov 2013 16:13:54 +0000 (10:13 -0600)]
Only check an fd that is >= 0.  Timeout-only events may have a
negative fd.

11 years agoDon't call sudo_ev_{add,del}_impl() for timeout-only events. This
Todd C. Miller [Fri, 1 Nov 2013 22:54:49 +0000 (16:54 -0600)]
Don't call sudo_ev_{add,del}_impl() for timeout-only events.  This
makes it possible to pass sudo_ev_alloc() an fd of -1 for events
only use SUDO_EV_TIMEOUT.

11 years agoMake a copy of readfds/writefds before calling select() instead
Todd C. Miller [Thu, 31 Oct 2013 22:13:15 +0000 (16:13 -0600)]
Make a copy of readfds/writefds before calling select() instead
of calculating it each time.  Keep track of high fd in the base.

11 years agoAdd Stephen Gelman
Todd C. Miller [Wed, 30 Oct 2013 21:27:30 +0000 (15:27 -0600)]
Add Stephen Gelman

11 years agoFix sign comparison warning.
Todd C. Miller [Wed, 30 Oct 2013 20:27:50 +0000 (14:27 -0600)]
Fix sign comparison warning.

11 years agoFix potential NULL dereference in non-interactive mode.
Todd C. Miller [Wed, 30 Oct 2013 16:21:02 +0000 (10:21 -0600)]
Fix potential NULL dereference in non-interactive mode.

11 years agoUse MSG_WAITALL when receiving struct command_status over the Unix
Todd C. Miller [Tue, 29 Oct 2013 21:26:32 +0000 (15:26 -0600)]
Use MSG_WAITALL when receiving struct command_status over the Unix
domain socket since we no longer use datagrams.  This should avoid
the need to handle incomplete reads, though in theory it is still
possible.

11 years agoSIGKILL is not catchable
Todd C. Miller [Tue, 29 Oct 2013 20:20:43 +0000 (14:20 -0600)]
SIGKILL is not catchable

11 years agoAdd sudo_ev_get_timeleft() to get the amount of time left before
Todd C. Miller [Tue, 29 Oct 2013 14:16:42 +0000 (08:16 -0600)]
Add sudo_ev_get_timeleft() to get the amount of time left before
an event times out and use it in sudoreplay.

11 years agoIf the user presses <return> or <enter> in sudoreplay, skip to the
Todd C. Miller [Mon, 28 Oct 2013 23:01:23 +0000 (17:01 -0600)]
If the user presses <return> or <enter> in sudoreplay, skip to the
next event.  Useful for skipping past long pauses in the data.

11 years agoFix sudo_ev_scan_impl() return value in event_poll.c.
Todd C. Miller [Mon, 28 Oct 2013 22:40:04 +0000 (16:40 -0600)]
Fix sudo_ev_scan_impl() return value in event_poll.c.
Make sure we clear active flag from unprocessed events if
sudo_ev_loopbreak() or sudo_ev_loopcontinue() are used.
Remove bogus optimization when the timeout is zero or negative; it
could prevent an I/O event from being triggered.

11 years agoMove session replay into its own function.
Todd C. Miller [Mon, 28 Oct 2013 20:44:50 +0000 (14:44 -0600)]
Move session replay into its own function.

11 years agoGet rid of cur and pending pointers in struct sudo_event_base. We
Todd C. Miller [Mon, 28 Oct 2013 17:13:45 +0000 (11:13 -0600)]
Get rid of cur and pending pointers in struct sudo_event_base.  We
now pop the first event off the active queue instead of using a
foreach loop with deferred removal of the event.
Add SUDO_EVQ_INSERTED and SUDO_EVQ_TIMEOUTS flags to indicate that
the event on the event queue and timeouts queue respectively.
No longer need to compare the timeout to {0,0} or compare the
event's base pointer to NULL to determine queue membership.

11 years agorename sudo_ev_loop_impl() -> sudo_ev_scan_impl()
Todd C. Miller [Mon, 28 Oct 2013 16:10:22 +0000 (10:10 -0600)]
rename sudo_ev_loop_impl() -> sudo_ev_scan_impl()

11 years agoAdd support for libevent-style timed events. Adding a timed event
Todd C. Miller [Mon, 28 Oct 2013 16:00:09 +0000 (10:00 -0600)]
Add support for libevent-style timed events.  Adding a timed event
is currently O(n).  The only consumer of timed events is sudoreplay
which only used a singled one so O(n) == O(1) for now.  This also
allows us to remove the nanosleep compat function as we now use a
timeout event instead.

11 years agoNow that sudo_ev_base_free() removes all events before freeing we
Todd C. Miller [Sat, 26 Oct 2013 13:52:59 +0000 (07:52 -0600)]
Now that sudo_ev_base_free() removes all events before freeing we
don't need to do this by hand.

11 years agoAdd a list of active events in the base that the back end sets when
Todd C. Miller [Sat, 26 Oct 2013 12:55:23 +0000 (06:55 -0600)]
Add a list of active events in the base that the back end sets when
it calls poll or select.  This allows the front end to iterate over
the events instead of having that code in both back ends.  It will
also simplify support for timeout events.  Also make sure we can't
touch freed memory if a callback frees its own event.

11 years agoRemove any existing events before freeing the event base.
Todd C. Miller [Sat, 26 Oct 2013 12:55:15 +0000 (06:55 -0600)]
Remove any existing events before freeing the event base.

11 years agomon_handler() should be static
Todd C. Miller [Fri, 25 Oct 2013 19:55:21 +0000 (13:55 -0600)]
mon_handler() should be static

11 years agoIf user specified start_tls and ldaps, display a warning and ignore
Todd C. Miller [Thu, 24 Oct 2013 21:40:02 +0000 (15:40 -0600)]
If user specified start_tls and ldaps, display a warning and ignore
start_tls.  There's no reason to make this a fatal error.

11 years agoAdd missing else when the connection from the monitor to the parent
Todd C. Miller [Thu, 24 Oct 2013 16:40:51 +0000 (10:40 -0600)]
Add missing else when the connection from the monitor to the parent
sudo process is broken (due to the parent dying).  Prevents a
spurious "unexpected reply type on backchannel" warning.

11 years agoWhen flushing output we don't care whether we are the foreground
Todd C. Miller [Thu, 24 Oct 2013 16:19:36 +0000 (10:19 -0600)]
When flushing output we don't care whether we are the foreground
process or not, we still need to flush to /dev/tty.  If we are in
the background, it is OK to get SIGTTOU.

11 years agoShould not attempt start_tls on an ldaps connection.
Todd C. Miller [Thu, 24 Oct 2013 13:16:57 +0000 (07:16 -0600)]
Should not attempt start_tls on an ldaps connection.

11 years agoFix sign compare warning.
Todd C. Miller [Wed, 23 Oct 2013 22:18:28 +0000 (16:18 -0600)]
Fix sign compare warning.

11 years agoEliminate warning about circular dependency from GNU make.
Todd C. Miller [Wed, 23 Oct 2013 22:05:57 +0000 (16:05 -0600)]
Eliminate warning about circular dependency from GNU make.

11 years agoMore sign compare fixes. On Solaris id_t is signed so use uid_t
Todd C. Miller [Wed, 23 Oct 2013 21:19:41 +0000 (15:19 -0600)]
More sign compare fixes.  On Solaris id_t is signed so use uid_t
in the set_perms.c ID macro instead.

11 years agoQuiet sign comparision warnings.
Todd C. Miller [Wed, 23 Oct 2013 21:03:31 +0000 (15:03 -0600)]
Quiet sign comparision warnings.

11 years agoAdd -Wsign-compare to --enable-warnings
Todd C. Miller [Wed, 23 Oct 2013 21:02:22 +0000 (15:02 -0600)]
Add -Wsign-compare to --enable-warnings

11 years agoIgnore SIGPIPE when connecting to the LDAP server so we can get a
Todd C. Miller [Wed, 23 Oct 2013 17:15:24 +0000 (11:15 -0600)]
Ignore SIGPIPE when connecting to the LDAP server so we can get a
proper error message with the IBM LDAP libs.  Also return LDAP_SUCCESS
instead of 0 from most sudo_ldap_* functions that return an int.

11 years agoQuiet compiler warnings.
Todd C. Miller [Wed, 23 Oct 2013 15:43:36 +0000 (09:43 -0600)]
Quiet compiler warnings.

11 years agosudo_ldap_parse_uri() should join multiple URIs in the string list
Todd C. Miller [Tue, 22 Oct 2013 22:52:23 +0000 (16:52 -0600)]
sudo_ldap_parse_uri() should join multiple URIs in the string list
together but it was clearing the host entry each time through the
loop.  Fixes a bug with multiple URI entries in ldap.conf where
only the last one was being honored.

11 years agoAvoid a double free introduced when plugging a memory leak in
Todd C. Miller [Tue, 22 Oct 2013 21:54:41 +0000 (15:54 -0600)]
Avoid a double free introduced when plugging a memory leak in
safe_close().  A new ev_free_by_fd() function is used to remove and
free any events sharing the specified fd.  This can be used after
safe_close() to make sure we don't try to select() on a closed fd.

11 years agoQuiet some llvm check false positives. The common idiom of using
Todd C. Miller [Tue, 22 Oct 2013 20:58:00 +0000 (14:58 -0600)]
Quiet some llvm check false positives.  The common idiom of using
TAILQ_FIRST, TAILQ_REMOVE and free in a loop to free each entry in
a TAILQ confuses llvm.  Use TAILQ_FOREACH_SAFE instead (which is
probably faster anyway).

11 years agoIf pam_open_session() fails don't call pam_getenvlist() with a NULL
Todd C. Miller [Tue, 22 Oct 2013 20:47:51 +0000 (14:47 -0600)]
If pam_open_session() fails don't call pam_getenvlist() with a NULL
pam handle.

11 years agoFix newly introduced use after frees found by llvm checker.
Todd C. Miller [Tue, 22 Oct 2013 16:43:15 +0000 (10:43 -0600)]
Fix newly introduced use after frees found by llvm checker.

11 years agoRemove an errant list_next() call that should have been removed
Todd C. Miller [Tue, 22 Oct 2013 15:33:12 +0000 (09:33 -0600)]
Remove an errant list_next() call that should have been removed
in the TAILQ conversion.

11 years agoAdd "headless" tail queues and use them in place of the semi-circular
Todd C. Miller [Tue, 22 Oct 2013 15:08:38 +0000 (09:08 -0600)]
Add "headless" tail queues and use them in place of the semi-circular
lists in sudoers.  Once the headless tail queue is built up it is
converted to a normal TAILQ.  This removes the last consumer of
list.c and list.h so those can now be removed.

11 years agoUse SLIST and STAILQ macros instead of doing headless singly linked
Todd C. Miller [Tue, 22 Oct 2013 15:08:09 +0000 (09:08 -0600)]
Use SLIST and STAILQ macros instead of doing headless singly linked
lists manually.  As a bonus we now use a tail queue for ldap.c and
sudoreplay.c.

11 years agoConvert sudo to use BSD TAILQ macros instead of home ground tail
Todd C. Miller [Tue, 22 Oct 2013 15:00:37 +0000 (09:00 -0600)]
Convert sudo to use BSD TAILQ macros instead of home ground tail
queue functions.  This includes a private queue.h header derived
from FreeBSD.  It is simpler to just use our own header rather than
try to deal with macros that may or may not be present in various
queue.h incarnations.

11 years agoFix AND operator broken by changes to fix OR.
Todd C. Miller [Mon, 21 Oct 2013 22:00:29 +0000 (16:00 -0600)]
Fix AND operator broken by changes to fix OR.

11 years agoFix OR operator.
Todd C. Miller [Sat, 19 Oct 2013 22:59:08 +0000 (16:59 -0600)]
Fix OR operator.

11 years agoFix memory leak of I/O buffer events in safe_close().
Todd C. Miller [Fri, 18 Oct 2013 22:28:49 +0000 (16:28 -0600)]
Fix memory leak of I/O buffer events in safe_close().

11 years agoDon't allow the debug subsystem to be initialized twice.
Todd C. Miller [Wed, 16 Oct 2013 22:44:21 +0000 (16:44 -0600)]
Don't allow the debug subsystem to be initialized twice.
Otherwise we can exhuast our stack when built in static mode.

11 years agoMake sure we do not try to usie index -1 in base->pfds[].
Todd C. Miller [Wed, 16 Oct 2013 22:08:54 +0000 (16:08 -0600)]
Make sure we do not try to usie index -1 in base->pfds[].

11 years agoBump version to 1.8.9
Todd C. Miller [Mon, 14 Oct 2013 17:00:12 +0000 (11:00 -0600)]
Bump version to 1.8.9

11 years agoConvert the monitor process to the event subsystem.
Todd C. Miller [Sat, 12 Oct 2013 11:57:42 +0000 (05:57 -0600)]
Convert the monitor process to the event subsystem.

11 years agoConvert the main sudo event loop to use the event subsystem.
Todd C. Miller [Sat, 12 Oct 2013 11:53:52 +0000 (05:53 -0600)]
Convert the main sudo event loop to use the event subsystem.
Read events for I/O buffers are added before the loop starts.
Write events are added on demand as the buffers are filled.

11 years agoSimple event subsystem that uses poll() or select(). Basically a
Todd C. Miller [Sat, 12 Oct 2013 11:53:43 +0000 (05:53 -0600)]
Simple event subsystem that uses poll() or select().  Basically a
simplied subset of libevent2.  Currently only fd events are supported
(since that's all we need).  The poll() backend is used by default,
except on Mac OS X where poll() is broken for devices (including
/dev/tty and ptys).

11 years agoUse SOCK_STREAM for socketpair, not SOCK_DGRAM so we get consistent
Todd C. Miller [Sat, 12 Oct 2013 11:39:02 +0000 (05:39 -0600)]
Use SOCK_STREAM for socketpair, not SOCK_DGRAM so we get consistent
semantics when the other end closes.  This should make the conversion
to poll() less problematic.

11 years agoFix removal of trailing newlines in a debug message.
Todd C. Miller [Sun, 6 Oct 2013 20:22:14 +0000 (14:22 -0600)]
Fix removal of trailing newlines in a debug message.

11 years agoWhen checking for unused Runas_Aliases, count those used as part
Todd C. Miller [Fri, 4 Oct 2013 22:22:25 +0000 (16:22 -0600)]
When checking for unused Runas_Aliases, count those used as part
of a Runas Group too.  Fixes a false positive warning.

11 years agoInclude stddef.h for rsize_t and errno_t on systems that support
Todd C. Miller [Mon, 30 Sep 2013 00:35:34 +0000 (18:35 -0600)]
Include stddef.h for rsize_t and errno_t on systems that support
it natively.

11 years agoFix braino.
Todd C. Miller [Sun, 29 Sep 2013 21:09:43 +0000 (15:09 -0600)]
Fix braino.

11 years agoRebuild message catalog files.
Todd C. Miller [Sun, 29 Sep 2013 21:04:11 +0000 (15:04 -0600)]
Rebuild message catalog files.

11 years agoRebuild message catalog files.
Todd C. Miller [Sun, 29 Sep 2013 20:59:18 +0000 (14:59 -0600)]
Rebuild message catalog files.

11 years agoCzech translation for sudo from translationproject.org.
Todd C. Miller [Sun, 29 Sep 2013 20:45:28 +0000 (14:45 -0600)]
Czech translation for sudo from translationproject.org.

11 years agoSync with translationproject.org
Todd C. Miller [Wed, 18 Sep 2013 17:49:24 +0000 (11:49 -0600)]
Sync with translationproject.org

11 years agoChange "next" back to 2. In the context of "next Friday" we really
Todd C. Miller [Wed, 18 Sep 2013 17:48:26 +0000 (11:48 -0600)]
Change "next" back to 2.  In the context of "next Friday" we really
do want the friday of the upcoming (not current) week.  Unfortunately,
this means that things like "next week" and "next year" will match
one more than we really want.  Fixing this will require some fairly
major changes to the grammar.

11 years agoMention that relative times don't always do what you might expect.
Todd C. Miller [Wed, 18 Sep 2013 17:48:07 +0000 (11:48 -0600)]
Mention that relative times don't always do what you might expect.

11 years agoAdd diacritical for Zdenek Behan.
Todd C. Miller [Tue, 17 Sep 2013 17:57:01 +0000 (11:57 -0600)]
Add diacritical for Zdenek Behan.

11 years agoDo not fail if ttyname() cannot determine the tty but sudo can.
Todd C. Miller [Wed, 11 Sep 2013 17:20:05 +0000 (11:20 -0600)]
Do not fail if ttyname() cannot determine the tty but sudo can.
Should fix problems with running "make check" under pbuilder.

11 years agoRemove extraneous $$CWD; from Bdale Garbee
Todd C. Miller [Wed, 11 Sep 2013 17:15:47 +0000 (11:15 -0600)]
Remove extraneous $$CWD; from Bdale Garbee

11 years agoMake "this" and "next" qualifiers work a bit better. There is still
Todd C. Miller [Mon, 9 Sep 2013 22:41:27 +0000 (16:41 -0600)]
Make "this" and "next" qualifiers work a bit better.  There is still
room for improvement as "this week" will use the current time instead
of the beginning of the week.  That's a separate issue though.

11 years agoMark main() public to silence a warning on HP-UX.
Todd C. Miller [Fri, 6 Sep 2013 16:17:00 +0000 (10:17 -0600)]
Mark main() public to silence a warning on HP-UX.

11 years agoBe specific that we are talking about the Unix epoch; bug #615
Todd C. Miller [Tue, 3 Sep 2013 20:50:28 +0000 (14:50 -0600)]
Be specific that we are talking about the Unix epoch; bug #615

11 years agoDo not use "setup" as a verb; bug #614
Todd C. Miller [Tue, 3 Sep 2013 20:47:34 +0000 (14:47 -0600)]
Do not use "setup" as a verb; bug #614

11 years agoFix logic goof when checking open() status.
Todd C. Miller [Tue, 3 Sep 2013 17:24:31 +0000 (11:24 -0600)]
Fix logic goof when checking open() status.

11 years agoSync with translationproject.org
Todd C. Miller [Tue, 3 Sep 2013 15:40:53 +0000 (09:40 -0600)]
Sync with translationproject.org

11 years agoWork around a bug in sudo 1.8.7 timing files where the indexes are
Todd C. Miller [Tue, 3 Sep 2013 15:39:35 +0000 (09:39 -0600)]
Work around a bug in sudo 1.8.7 timing files where the indexes are
off by two.

11 years agoRepair writing of the I/O log file indices broken in sudo 1.8.7.
Todd C. Miller [Tue, 3 Sep 2013 15:22:44 +0000 (09:22 -0600)]
Repair writing of the I/O log file indices broken in sudo 1.8.7.

11 years agoTry to improve the PAGERS noexec example a bit.
Todd C. Miller [Sat, 31 Aug 2013 12:11:25 +0000 (06:11 -0600)]
Try to improve the PAGERS noexec example a bit.

11 years agoDocument comment character in ldap.conf
Todd C. Miller [Fri, 30 Aug 2013 20:27:26 +0000 (14:27 -0600)]
Document comment character in ldap.conf
Clarify what is and is not supported in TLS_KEYPW
Mention that gsk8capicmd can be used to create a stash file

11 years agoNew bugs fixed for 1.8.8.
Todd C. Miller [Mon, 26 Aug 2013 20:47:45 +0000 (14:47 -0600)]
New bugs fixed for 1.8.8.

11 years agoFix setting of quiet flag when -q / --quiet is specified.
Todd C. Miller [Mon, 26 Aug 2013 20:40:25 +0000 (14:40 -0600)]
Fix setting of quiet flag when -q / --quiet is specified.
Do not print "sudoers: parsed OK" in quiet mode.

11 years agoUpdated translations from translationproject.org
Todd C. Miller [Mon, 26 Aug 2013 13:04:49 +0000 (07:04 -0600)]
Updated translations from translationproject.org

11 years agoDon't allow root to change its SELinux role without a password.
Todd C. Miller [Mon, 26 Aug 2013 13:04:19 +0000 (07:04 -0600)]
Don't allow root to change its SELinux role without a password.
Bug #611

11 years agoMention new Mac OS X symbol interposition.
Todd C. Miller [Wed, 21 Aug 2013 16:17:14 +0000 (10:17 -0600)]
Mention new Mac OS X symbol interposition.

11 years agoUpdated translations from translationproject.org
Todd C. Miller [Wed, 21 Aug 2013 16:10:48 +0000 (10:10 -0600)]
Updated translations from translationproject.org

11 years agoAdd configure checks for the exec functions we will dummy out. This
Todd C. Miller [Wed, 21 Aug 2013 16:09:04 +0000 (10:09 -0600)]
Add configure checks for the exec functions we will dummy out.  This
is only really needed on Mac OS X when symbol interposition is being
performed but won't hurt elsewhere.

11 years agoFix installation of sudo_noexec on Mac OS X.
Todd C. Miller [Tue, 20 Aug 2013 21:14:17 +0000 (15:14 -0600)]
Fix installation of sudo_noexec on Mac OS X.
Use library symbol interposition on Mac OS X 10.4 and higher so
we don't need to set DYLD_FORCE_FLAT_NAMESPACE=1.

11 years agoFix error display from ldap_ssl_client_init(). There are two error
Todd C. Miller [Sat, 17 Aug 2013 11:08:20 +0000 (07:08 -0400)]
Fix error display from ldap_ssl_client_init().  There are two error
codes.  The return value can be decoded via ldap_err2string() but the
ssl reason code cannot (you have to look it up in a table online).

11 years agoFix typo in tls_key example for Tivoli
Todd C. Miller [Mon, 19 Aug 2013 19:19:35 +0000 (13:19 -0600)]
Fix typo in tls_key example for Tivoli

11 years agoDon't escape '$' when running "sudo -i command". Bug #564
Todd C. Miller [Mon, 19 Aug 2013 16:40:05 +0000 (10:40 -0600)]
Don't escape '$' when running "sudo -i command".  Bug #564

11 years agoFix typo in comment.
Todd C. Miller [Mon, 19 Aug 2013 15:19:52 +0000 (09:19 -0600)]
Fix typo in comment.