]> granicus.if.org Git - sudo/log
sudo
8 years agoDocument the race with sudoedit_checkdir in 1.8.15.
Todd C. Miller [Wed, 20 Jan 2016 18:00:05 +0000 (11:00 -0700)]
Document the race with sudoedit_checkdir in 1.8.15.

8 years agoDocument sudoedit_checkdir
Todd C. Miller [Wed, 20 Jan 2016 17:56:47 +0000 (10:56 -0700)]
Document sudoedit_checkdir

8 years agoThere are no systems that support O_SEARCH/O_PATH that do not also
Todd C. Miller [Wed, 20 Jan 2016 02:50:27 +0000 (19:50 -0700)]
There are no systems that support O_SEARCH/O_PATH that do not also
support O_DIRECTORY so simplify the definition of DIR_OPEN_FLAGS a
bit.

8 years agoregen
Todd C. Miller [Tue, 19 Jan 2016 22:23:07 +0000 (15:23 -0700)]
regen

8 years agoAdd 1.8.16 changes
Todd C. Miller [Tue, 19 Jan 2016 22:21:15 +0000 (15:21 -0700)]
Add 1.8.16 changes

8 years agoMake sudoedit_checkdir the default and update the documentation accordingly.
Todd C. Miller [Tue, 19 Jan 2016 21:16:25 +0000 (14:16 -0700)]
Make sudoedit_checkdir the default and update the documentation accordingly.

8 years agoAdd a SET_FLAG macro to simplify parsing command details boolean
Todd C. Miller [Tue, 19 Jan 2016 17:32:33 +0000 (10:32 -0700)]
Add a SET_FLAG macro to simplify parsing command details boolean
flags.  Previously, flags were only set and never cleared even if
the boolean value was false.  This was not a problem as there were
no default flags for the plugin to enable.  That will change in the
future.

8 years agoNeed to be root when switching to a different user.
Todd C. Miller [Mon, 18 Jan 2016 20:12:50 +0000 (13:12 -0700)]
Need to be root when switching to a different user.

8 years agoUse O_SEARCH on systems without O_PATH if present. It can be used
Todd C. Miller [Mon, 18 Jan 2016 19:38:41 +0000 (12:38 -0700)]
Use O_SEARCH on systems without O_PATH if present.  It can be used
for a similar purpose.

8 years agoUse faccessat(2) for directory writability instead of doing the
Todd C. Miller [Mon, 18 Jan 2016 17:45:47 +0000 (10:45 -0700)]
Use faccessat(2) for directory writability instead of doing the
checks manually where possible.  This also allows us to remove the
#ifdef __linux__ bits since we no longer use fstat(2) on Linux with
an O_PATH fd.

8 years agoAdd "I/O LOG FILES" section to the manual and move many of the
Todd C. Miller [Sat, 16 Jan 2016 23:47:42 +0000 (16:47 -0700)]
Add "I/O LOG FILES" section to the manual and move many of the
details from the log_input and log_output descriptions to it.

8 years agoUse "Nm sudoers" when talking about the plugin and "Em sudoers" when
Todd C. Miller [Sat, 16 Jan 2016 23:46:17 +0000 (16:46 -0700)]
Use "Nm sudoers" when talking about the plugin and "Em sudoers" when
talking about the sudoers file.

8 years agoRemove gzopen_w which is only defined on Windows.
Todd C. Miller [Wed, 13 Jan 2016 20:40:19 +0000 (13:40 -0700)]
Remove gzopen_w which is only defined on Windows.

8 years agoWork around the buggy pread(2) on 32-bit HP-UX 11.00 by using
Todd C. Miller [Wed, 13 Jan 2016 18:10:33 +0000 (11:10 -0700)]
Work around the buggy pread(2) on 32-bit HP-UX 11.00 by using
pread64() on that platform.

8 years agoAdd support for matching the entire netgroup tuple (user, host, domain).
Todd C. Miller [Tue, 12 Jan 2016 21:59:44 +0000 (14:59 -0700)]
Add support for matching the entire netgroup tuple (user, host, domain).

8 years agoUse asprintf() to generate the netgroup filter instead of using
Todd C. Miller [Tue, 12 Jan 2016 21:29:09 +0000 (14:29 -0700)]
Use asprintf() to generate the netgroup filter instead of using
lots of concatenation.

8 years agoAdd missing sudo_debug_exit_ssize_t_v1 symbol.
Todd C. Miller [Tue, 12 Jan 2016 21:28:58 +0000 (14:28 -0700)]
Add missing sudo_debug_exit_ssize_t_v1 symbol.

8 years agoIn sudo_netgroup_lookup() only build up the search filter once
Todd C. Miller [Mon, 11 Jan 2016 23:35:05 +0000 (16:35 -0700)]
In sudo_netgroup_lookup() only build up the search filter once
instead of once per netgroup_base.

8 years agoIt is safe to pass ldap_msgfree() a NULL pointer.
Todd C. Miller [Mon, 11 Jan 2016 23:24:22 +0000 (16:24 -0700)]
It is safe to pass ldap_msgfree() a NULL pointer.

8 years agoOn overflow, warn before freeing anything.
Todd C. Miller [Mon, 11 Jan 2016 23:23:19 +0000 (16:23 -0700)]
On overflow, warn before freeing anything.

8 years agoUse user_runhost and user_srunhost instead of user_host and user_shost.
Todd C. Miller [Mon, 11 Jan 2016 22:54:02 +0000 (15:54 -0700)]
Use user_runhost and user_srunhost instead of user_host and user_shost.
Fixes "sudo -l -h other_host" for LDAP and sssd.

8 years agoSilence warning in digest_matches() on systems with no fexecve(2).
Todd C. Miller [Mon, 11 Jan 2016 23:55:52 +0000 (16:55 -0700)]
Silence warning in digest_matches() on systems with no fexecve(2).

8 years agoFix free() of invalid pointer introduced in the commit that stripped
Todd C. Miller [Mon, 11 Jan 2016 23:52:52 +0000 (16:52 -0700)]
Fix free() of invalid pointer introduced in the commit that stripped
whitespace between a '!' and the name in a sudoOption.

8 years agoFix free() of invalid pointer introduced in the commit that stripped
Todd C. Miller [Mon, 11 Jan 2016 23:44:05 +0000 (16:44 -0700)]
Fix free() of invalid pointer introduced in the commit that stripped
whitespace between a '!' and the name in a sudoOption.

8 years agoAdd missing dfd argument to the version of sudo_edit_openat_nofollow()
Todd C. Miller [Mon, 11 Jan 2016 23:36:40 +0000 (16:36 -0700)]
Add missing dfd argument to the version of sudo_edit_openat_nofollow()
for systems without O_NOFOLLOW.

8 years agoUpdate description of sudoedit_checkdir. Reported by Sander Bos.
Todd C. Miller [Mon, 11 Jan 2016 22:09:08 +0000 (15:09 -0700)]
Update description of sudoedit_checkdir.  Reported by Sander Bos.

8 years agoNo need to check whether the fd we opened is really a directory in
Todd C. Miller [Mon, 11 Jan 2016 18:15:42 +0000 (11:15 -0700)]
No need to check whether the fd we opened is really a directory in
sudo_edit_open_nonwritable() since if not, the openat() will fail
with ENOTDIR anyway.

8 years agoRewritten sudoedit_checkdir support that checks all the dirs in the
Todd C. Miller [Mon, 11 Jan 2016 01:31:29 +0000 (18:31 -0700)]
Rewritten sudoedit_checkdir support that checks all the dirs in the
path and refuses to follow symlinks in writable directories.
This is a better fix for CVE-2015-5602.
Adapted from a diff by Ben Hutchings.  Bug #707

8 years agosync with translationproject.org
Todd C. Miller [Mon, 4 Jan 2016 17:47:11 +0000 (10:47 -0700)]
sync with translationproject.org

8 years agoAdd support for using fexecve() if supported on commands that are
Todd C. Miller [Mon, 4 Jan 2016 17:35:18 +0000 (10:35 -0700)]
Add support for using fexecve() if supported on commands that are
checksummed.

9 years agoCall openat() with the basename not the full path. From Ben Hutchings.
Todd C. Miller [Tue, 29 Dec 2015 20:38:14 +0000 (13:38 -0700)]
Call openat() with the basename not the full path.  From Ben Hutchings.

9 years agoFix compilation with --disable-shared
Todd C. Miller [Thu, 24 Dec 2015 15:26:26 +0000 (08:26 -0700)]
Fix compilation with --disable-shared

9 years agoCheck for existing dso in LD_PRELOAD and only add it if it is not
Todd C. Miller [Sun, 20 Dec 2015 21:08:47 +0000 (14:08 -0700)]
Check for existing dso in LD_PRELOAD and only add it if it is not
already present.

9 years agoClarify when SIGINT and SIGQUIT are relayed by sudo to the command.
Todd C. Miller [Fri, 18 Dec 2015 21:41:11 +0000 (14:41 -0700)]
Clarify when SIGINT and SIGQUIT are relayed by sudo to the command.

9 years agoActually use the plugin_dir Path setting in sudo.conf.
Todd C. Miller [Fri, 18 Dec 2015 21:05:02 +0000 (14:05 -0700)]
Actually use the plugin_dir Path setting in sudo.conf.

9 years agoThe Path setting for the plugin directory is "plugin_dir" not "plugin".
Todd C. Miller [Fri, 18 Dec 2015 21:03:59 +0000 (14:03 -0700)]
The Path setting for the plugin directory is "plugin_dir" not "plugin".

9 years agoAllow sudo.conf Path settings to disable path names (by setting the
Todd C. Miller [Fri, 18 Dec 2015 19:31:28 +0000 (12:31 -0700)]
Allow sudo.conf Path settings to disable path names (by setting the
value of NULL).

9 years agoChange noexec flag in selinux_execve() from int to bool.
Todd C. Miller [Wed, 16 Dec 2015 22:16:48 +0000 (15:16 -0700)]
Change noexec flag in selinux_execve() from int to bool.

9 years agoRefactor code to set LD_PRELOAD (or the equivalent) in the environment
Todd C. Miller [Wed, 16 Dec 2015 22:08:01 +0000 (15:08 -0700)]
Refactor code to set LD_PRELOAD (or the equivalent) in the environment
into a preload_dso() function.  Also avoid allocating a new copy
of the environment array if the size of the array does not change.

9 years agoAdd missing square brackets in configure option descriptions.
Todd C. Miller [Wed, 16 Dec 2015 21:57:37 +0000 (14:57 -0700)]
Add missing square brackets in configure option descriptions.

9 years agoDocument the names of the I/O log files and mention buffering.
Todd C. Miller [Fri, 11 Dec 2015 17:04:17 +0000 (10:04 -0700)]
Document the names of the I/O log files and mention buffering.
Document that I/O logs are in gzip format by default.

9 years agoAdd BASHOPTS to initial_badenv_table[]; from Stephane Chazelas
Todd C. Miller [Fri, 11 Dec 2015 00:14:56 +0000 (17:14 -0700)]
Add BASHOPTS to initial_badenv_table[]; from Stephane Chazelas

9 years agoWhen parsing sudoOptions that include an operator (!, +, +=, -=)
Todd C. Miller [Wed, 9 Dec 2015 21:57:33 +0000 (14:57 -0700)]
When parsing sudoOptions that include an operator (!, +, +=, -=)
strip out any whitespace on either side of the operator.

9 years agoStrip whitespace around '!', '=', '+=' and '-=' in Defaults entries.
Todd C. Miller [Tue, 8 Dec 2015 22:06:00 +0000 (15:06 -0700)]
Strip whitespace around '!', '=', '+=' and '-=' in Defaults entries.

9 years agoDocument the race condition between the digest check and command
Todd C. Miller [Sun, 6 Dec 2015 22:34:53 +0000 (15:34 -0700)]
Document the race condition between the digest check and command
execution.

9 years agoWhen checking the query results, don't set user_matches in the
Todd C. Miller [Wed, 2 Dec 2015 21:06:37 +0000 (14:06 -0700)]
When checking the query results, don't set user_matches in the
netgroup pass unless sudo_ldap_check_non_unix_group() returns true.
This was preventing the mail_no_user sudoOption from being effective.

9 years agoIn list mode, we always want to clear FLAG_NO_USER and FLAG_NO_HOST
Todd C. Miller [Wed, 2 Dec 2015 17:43:41 +0000 (10:43 -0700)]
In list mode, we always want to clear FLAG_NO_USER and FLAG_NO_HOST
regardless of whether or not there was an actual match.  Otherwise,
warning mail may be sent which is not what we want in list mode.
This is consistent with what the sudoers file backend does.

9 years agoUse size_t for length parameters in the fill functions used by the
Todd C. Miller [Sun, 22 Nov 2015 16:22:38 +0000 (09:22 -0700)]
Use size_t for length parameters in the fill functions used by the
lexer.

9 years agoUse yy_size_t for digest_len since newer flex uses yy_size_t for
Todd C. Miller [Sun, 22 Nov 2015 16:19:12 +0000 (09:19 -0700)]
Use yy_size_t for digest_len since newer flex uses yy_size_t for
yyleng.  Old flex uses int for yyleng so we need to use a cast to
avoid a sign compare warning.

9 years agoUse https in sudo.ws urls
Todd C. Miller [Fri, 20 Nov 2015 17:51:11 +0000 (10:51 -0700)]
Use https in sudo.ws urls

9 years agoUse https in urls.
Todd C. Miller [Fri, 20 Nov 2015 17:36:53 +0000 (10:36 -0700)]
Use https in urls.

9 years agosudo 1.8.16
Todd C. Miller [Fri, 20 Nov 2015 17:33:08 +0000 (10:33 -0700)]
sudo 1.8.16

9 years agoWhen preserving variables from the invoking user's environment, if
Todd C. Miller [Fri, 20 Nov 2015 16:55:18 +0000 (09:55 -0700)]
When preserving variables from the invoking user's environment, if
there are duplicates only keep the first instance.

9 years agoAdd debug_return_ssize_t
Todd C. Miller [Sun, 1 Nov 2015 22:13:28 +0000 (15:13 -0700)]
Add debug_return_ssize_t

9 years agoAvoid compilation error on Solaris 10 with Stun Studio 12.
Todd C. Miller [Sun, 1 Nov 2015 22:08:50 +0000 (15:08 -0700)]
Avoid compilation error on Solaris 10 with Stun Studio 12.
Bug #727

9 years agosync with translationproject.org
Todd C. Miller [Sat, 31 Oct 2015 23:33:51 +0000 (17:33 -0600)]
sync with translationproject.org

9 years agoMention ssp configure fix.
Todd C. Miller [Sat, 31 Oct 2015 15:10:58 +0000 (09:10 -0600)]
Mention ssp configure fix.

9 years agosync with translationproject.org
Todd C. Miller [Fri, 30 Oct 2015 16:20:47 +0000 (10:20 -0600)]
sync with translationproject.org

9 years agoDon't use CPPFLAGS for the -fstack-protector check. Otherwise on
Todd C. Miller [Fri, 30 Oct 2015 16:11:55 +0000 (10:11 -0600)]
Don't use CPPFLAGS for the -fstack-protector check.  Otherwise on
systems with _FORTIFY_SOURCE support we'll get an error due to the
lack of optimization flags.  Bug #725

9 years agoWhen checking for stack protector support we need to actually link
Todd C. Miller [Fri, 30 Oct 2015 14:49:22 +0000 (08:49 -0600)]
When checking for stack protector support we need to actually link
the test program.

9 years agoPreserve LDFLAGS when checking for stack protector as they may include
Todd C. Miller [Thu, 29 Oct 2015 20:06:21 +0000 (14:06 -0600)]
Preserve LDFLAGS when checking for stack protector as they may include
rpath settings to allow the stack protector lib to be found.  Avoid
using existing CFLAGS since we don't want the compiler to optimize
away the stack variable.

9 years agoBetter configure test for -fstack-protector. Some gcc installations
Todd C. Miller [Thu, 29 Oct 2015 16:51:09 +0000 (10:51 -0600)]
Better configure test for -fstack-protector.  Some gcc installations
may be missing the ssp library even though the compiler supports it.

9 years agoSet errno to EISDIR instead of ENOTDIR if directory is writable
Todd C. Miller [Sun, 25 Oct 2015 20:28:38 +0000 (14:28 -0600)]
Set errno to EISDIR instead of ENOTDIR if directory is writable
since ENOTDIR can be a legitimate errno.  This avoids a bogus
"directory is writable" error in that case.

9 years agoFix the check for whether to include 32-bit arch in Mac OS X packages.
Todd C. Miller [Sun, 25 Oct 2015 15:10:15 +0000 (09:10 -0600)]
Fix the check for whether to include 32-bit arch in Mac OS X packages.

9 years agoregen
Todd C. Miller [Sat, 24 Oct 2015 12:27:55 +0000 (06:27 -0600)]
regen

9 years agoWhen creating a new file, sudoedit will now check that the file's
Todd C. Miller [Sat, 24 Oct 2015 12:20:20 +0000 (06:20 -0600)]
When creating a new file, sudoedit will now check that the file's
parent directory exists before running the editor.

9 years agoAdd always_query_group_plugin
Todd C. Miller [Sat, 24 Oct 2015 11:43:07 +0000 (05:43 -0600)]
Add always_query_group_plugin

9 years agoAdd ABOUT-NLS from GNU gettext.
Todd C. Miller [Fri, 23 Oct 2015 20:13:54 +0000 (14:13 -0600)]
Add ABOUT-NLS from GNU gettext.

9 years agoAdd directory writability checks for sudoedit.
Todd C. Miller [Fri, 23 Oct 2015 20:04:35 +0000 (14:04 -0600)]
Add directory writability checks for sudoedit.

9 years agoLatest.
Todd C. Miller [Tue, 6 Oct 2015 21:23:22 +0000 (15:23 -0600)]
Latest.

9 years agoIgnore the SUDO_CONV_PROMPT_ECHO_OK flag when echo is enabled.
Todd C. Miller [Tue, 6 Oct 2015 21:21:41 +0000 (15:21 -0600)]
Ignore the SUDO_CONV_PROMPT_ECHO_OK flag when echo is enabled.
This was preventing a match of SUDO_CONV_PROMPT_ECHO_ON which
resulted in a masked password instead of an echoed one.

9 years agoRepair challenge/response prompting for BSD authentication which
Todd C. Miller [Tue, 6 Oct 2015 21:00:47 +0000 (15:00 -0600)]
Repair challenge/response prompting for BSD authentication which
got broken while it was converted to use the conversation function.

9 years agoUse the auth_getpass (and the plugin conversation fuction) for Tru64
Todd C. Miller [Tue, 6 Oct 2015 16:25:53 +0000 (10:25 -0600)]
Use the auth_getpass (and the plugin conversation fuction) for Tru64
SIA.  This prevents sudo from sleeping while holding the tty ticket
lock.

9 years agoFor env_reset, SHELL should be set based on the target user, not
Todd C. Miller [Tue, 6 Oct 2015 16:25:43 +0000 (10:25 -0600)]
For env_reset, SHELL should be set based on the target user, not
the invoking user unless preserved via env_keep.

9 years agosync with translationproject.org
Todd C. Miller [Tue, 6 Oct 2015 15:33:27 +0000 (09:33 -0600)]
sync with translationproject.org

9 years agoHungarian and Slovak translations
Todd C. Miller [Mon, 5 Oct 2015 12:06:52 +0000 (06:06 -0600)]
Hungarian and Slovak translations

9 years agoAdd new Slovak and Hungarian translations from translationproject.org
Todd C. Miller [Mon, 5 Oct 2015 12:03:42 +0000 (06:03 -0600)]
Add new Slovak and Hungarian translations from translationproject.org

9 years agoRemove S_ISREG check from sudo_edit_open(), it is already done in
Todd C. Miller [Sat, 3 Oct 2015 02:35:55 +0000 (20:35 -0600)]
Remove S_ISREG check from sudo_edit_open(), it is already done in
the caller.

9 years agoOpen sudoedit files with O_NONBLOCK and fail if they are not regular
Todd C. Miller [Fri, 2 Oct 2015 20:45:09 +0000 (14:45 -0600)]
Open sudoedit files with O_NONBLOCK and fail if they are not regular
files.

9 years agoIt is possible for WIFSTOPPED to be true even if waitpid() is not
Todd C. Miller [Fri, 2 Oct 2015 17:24:01 +0000 (11:24 -0600)]
It is possible for WIFSTOPPED to be true even if waitpid() is not
given WUNTRACED if the child is ptraced.  Don't exit the waitpid()
loop if WIFSTOPPED is true, just in case.

9 years agorebuild .mo files
Todd C. Miller [Wed, 30 Sep 2015 20:04:39 +0000 (14:04 -0600)]
rebuild .mo files

9 years agosync with translationproject.org
Todd C. Miller [Wed, 30 Sep 2015 20:04:17 +0000 (14:04 -0600)]
sync with translationproject.org

9 years agoThere's no point in trying to interpose protected versions of the
Todd C. Miller [Tue, 29 Sep 2015 03:20:37 +0000 (21:20 -0600)]
There's no point in trying to interpose protected versions of the
exec family of functions.  Many modern C libraries use hidden symbols
for the functions and syscalls defined in libc such that they cannot
be overridden inside libc itself.  We have to just wrap all the exec
variants plus system and popen.

9 years agoList all the functions wrapped by sudo_noexec.so.
Todd C. Miller [Mon, 28 Sep 2015 22:48:46 +0000 (16:48 -0600)]
List all the functions wrapped by sudo_noexec.so.

9 years agoThe section is now called "EXEC and NOEXEC" and it is above, not
Todd C. Miller [Mon, 28 Sep 2015 22:48:20 +0000 (16:48 -0600)]
The section is now called "EXEC and NOEXEC" and it is above, not
below.

9 years agoAlso wrap popen(3).
Todd C. Miller [Mon, 28 Sep 2015 21:34:16 +0000 (15:34 -0600)]
Also wrap popen(3).

9 years agoAlso interpose system(3). On glibc systems you cannot interpose
Todd C. Miller [Mon, 28 Sep 2015 21:10:00 +0000 (15:10 -0600)]
Also interpose system(3).  On glibc systems you cannot interpose
the syscalls used internally by libc.

9 years agoSet active debug instance to sudo_debug_instance() during the
Todd C. Miller [Mon, 28 Sep 2015 18:28:18 +0000 (12:28 -0600)]
Set active debug instance to sudo_debug_instance() during the
conversation function.

9 years agoLOGNAME and USERNAME are set the same way as USER
Todd C. Miller [Sun, 27 Sep 2015 21:40:05 +0000 (15:40 -0600)]
LOGNAME and USERNAME are set the same way as USER

9 years agoDocument behavior when the command dies from a signal in EXIT STATUS.
Todd C. Miller [Sun, 27 Sep 2015 14:59:46 +0000 (08:59 -0600)]
Document behavior when the command dies from a signal in EXIT STATUS.

9 years agoBug #722
Todd C. Miller [Sat, 26 Sep 2015 17:02:24 +0000 (11:02 -0600)]
Bug #722

9 years agoWhen the command sudo is running is killed by a signal, sudo will
Todd C. Miller [Sat, 26 Sep 2015 16:53:16 +0000 (10:53 -0600)]
When the command sudo is running is killed by a signal, sudo will
now send itself the same signal with the default signal handler
instead of exiting.  The bash shell appears to ignore some signals,
e.g.  SIGINT, unless the command is killed by that signal.  This
makes the behavior of commands run under sudo the same as without
sudo when bash is the shell.  Bug #722

9 years agoAdjust set_logname description to new behavior when any of LOGNAME,
Todd C. Miller [Fri, 25 Sep 2015 17:19:28 +0000 (11:19 -0600)]
Adjust set_logname description to new behavior when any of LOGNAME,
USER or USERNAME are preserved.

9 years agoIf some, but not all, of the LOGNAME, USER or USERNAME environment
Todd C. Miller [Fri, 25 Sep 2015 17:15:22 +0000 (11:15 -0600)]
If some, but not all, of the LOGNAME, USER or USERNAME environment
variables have been preserved from the invoking user's environment,
sudo will now use the preserved value to set the remaining variables
instead of using the runas user.  This ensures that if, for example,
only LOGNAME is present in the env_keep list, that sudo will not
set USER and USERNAME to the runas user.

9 years agoFix passing of the callback pointer to the conversation function.
Todd C. Miller [Thu, 24 Sep 2015 19:43:17 +0000 (13:43 -0600)]
Fix passing of the callback pointer to the conversation function.
This was preventing the on_suspend and on_resume functions from
being called on PAM systems.

9 years agoExplicitly mark large hex constants unsigned.
Todd C. Miller [Thu, 24 Sep 2015 17:23:02 +0000 (11:23 -0600)]
Explicitly mark large hex constants unsigned.

9 years agoCast sizeof(entry) to off_t before making it a negative offset for
Todd C. Miller [Thu, 24 Sep 2015 16:52:44 +0000 (10:52 -0600)]
Cast sizeof(entry) to off_t before making it a negative offset for
lseek().  Fixes "sudo -k" on Solaris and probably others.

9 years agoAdd explicit mention of sudo's netgroup semantics since they differ
Todd C. Miller [Mon, 21 Sep 2015 22:04:59 +0000 (16:04 -0600)]
Add explicit mention of sudo's netgroup semantics since they differ
from most other netgroup consumers.

9 years agosync with translationproject.org
Todd C. Miller [Mon, 21 Sep 2015 21:18:04 +0000 (15:18 -0600)]
sync with translationproject.org

9 years agoFix potential double free of the cookie when sudo is suspended at
Todd C. Miller [Mon, 21 Sep 2015 21:07:00 +0000 (15:07 -0600)]
Fix potential double free of the cookie when sudo is suspended at
the password prompt.