]>
granicus.if.org Git - sudo/log
Todd C. Miller [Thu, 24 Jan 2013 14:01:03 +0000 (09:01 -0500)]
Add __dso_public to extern declaration of declaration to match
actual definition.
--HG--
branch : 1.8
Todd C. Miller [Thu, 24 Jan 2013 12:45:49 +0000 (07:45 -0500)]
Sudo 1.8.6p5
--HG--
branch : 1.8
Todd C. Miller [Thu, 24 Jan 2013 12:44:10 +0000 (07:44 -0500)]
Add 1.8.6p5
--HG--
branch : 1.8
Todd C. Miller [Fri, 18 Jan 2013 19:58:12 +0000 (14:58 -0500)]
Use _getgroupsbymember() on Solaris to get the groups list. Fixes
performance problems with the getgroupslist() compat on Solaris
systems with network-based group databases.
--HG--
branch : 1.8
Todd C. Miller [Wed, 23 Jan 2013 12:52:09 +0000 (07:52 -0500)]
Fix potential stack overflow due to infinite recursion in alias
cycle detection. From Daniel Kopecek.
--HG--
branch : 1.8
Todd C. Miller [Tue, 15 Jan 2013 15:03:01 +0000 (10:03 -0500)]
Added tag SUDO_1_8_6p4 for changeset
708b8db3b30e
--HG--
branch : 1.8
Todd C. Miller [Sun, 13 Jan 2013 20:24:12 +0000 (15:24 -0500)]
Add missing call to save_signals().
--HG--
branch : 1.8
Todd C. Miller [Fri, 11 Jan 2013 14:39:59 +0000 (09:39 -0500)]
Use -fstack-protector-all in preference to -fstack-protector
where supported.
--HG--
branch : 1.8
Todd C. Miller [Fri, 11 Jan 2013 02:27:40 +0000 (21:27 -0500)]
Only test for -fstack-protector and -fvisibility=hidden on GNU
compatible compilers.
--HG--
branch : 1.8
Todd C. Miller [Thu, 3 Jan 2013 19:52:10 +0000 (14:52 -0500)]
Add Sudo 1.8.6p4
--HG--
branch : 1.8
Todd C. Miller [Thu, 3 Jan 2013 19:53:03 +0000 (14:53 -0500)]
Sudo 1.8.6p4
--HG--
branch : 1.8
Todd C. Miller [Thu, 3 Jan 2013 19:20:49 +0000 (14:20 -0500)]
Break out stack smashing protector options into SSP_CFLAGS and
SSP_LDFLAGS so we can use it everywhere (unlike LT_LDFLAGS).
--HG--
branch : 1.8
Todd C. Miller [Tue, 1 Jan 2013 18:31:40 +0000 (13:31 -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.8
Todd C. Miller [Thu, 27 Dec 2012 21:25:51 +0000 (16:25 -0500)]
Disable PIE on FreeBSD/ia64, otherwise sudo will segfault.
--HG--
branch : 1.8
Todd C. Miller [Sun, 25 Nov 2012 13:12:54 +0000 (08:12 -0500)]
Avoid NULL deref for unknown Defaults in strict mode.
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
Todd C. Miller [Tue, 18 Sep 2012 13:59:29 +0000 (09:59 -0400)]
Added tag SUDO_1_8_6p3 for changeset
f25e20b889d7
--HG--
branch : 1.8
Todd C. Miller [Tue, 18 Sep 2012 13:41:58 +0000 (09:41 -0400)]
sudo 1.8.6p3
--HG--
branch : 1.8
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
--HG--
branch : 1.8
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
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
Todd C. Miller [Mon, 17 Sep 2012 01:05:28 +0000 (21:05 -0400)]
Added tag SUDO_1_8_6p2 for changeset
56852147a260
--HG--
branch : 1.8
Todd C. Miller [Mon, 17 Sep 2012 01:04:33 +0000 (21:04 -0400)]
Sudo 1.8.6p2
--HG--
branch : 1.8
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.
--HG--
branch : 1.8
Todd C. Miller [Wed, 12 Sep 2012 19:33:45 +0000 (15:33 -0400)]
Added tag SUDO_1_8_6p1 for changeset
98436a0a8cf1
--HG--
branch : 1.8
Todd C. Miller [Wed, 12 Sep 2012 19:33:25 +0000 (15:33 -0400)]
Merge NEWS update for sudo 1.8.6p1
--HG--
branch : 1.8
Todd C. Miller [Wed, 12 Sep 2012 19:13:49 +0000 (15:13 -0400)]
Mention support for SUCCESS=return in /etc/nsswitch.conf
Todd C. Miller [Wed, 12 Sep 2012 18:39:07 +0000 (14:39 -0400)]
Merge sudo 1.8.6p1 from trunk.
--HG--
branch : 1.8
Todd C. Miller [Wed, 12 Sep 2012 18:37:27 +0000 (14:37 -0400)]
sudo 1.8.6p1
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.
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
Todd C. Miller [Tue, 11 Sep 2012 14:21:32 +0000 (10:21 -0400)]
Add some debuggging
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.
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.
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
Todd C. Miller [Tue, 4 Sep 2012 13:12:37 +0000 (09:12 -0400)]
Added tag SUDO_1_8_6 for changeset
15ed71afbd50
--HG--
branch : 1.8
Todd C. Miller [Tue, 4 Sep 2012 13:12:26 +0000 (09:12 -0400)]
Merge sudo 1.8.6 from trunk.
--HG--
branch : 1.8
Todd C. Miller [Tue, 4 Sep 2012 13:07:33 +0000 (09:07 -0400)]
Add sssd.c
Todd C. Miller [Sat, 1 Sep 2012 21:10:36 +0000 (17:10 -0400)]
regen .po files
Todd C. Miller [Sat, 1 Sep 2012 21:00:49 +0000 (17:00 -0400)]
Add Vietnamese sudoers translation from translationproject.org
Todd C. Miller [Sat, 1 Sep 2012 17:10:16 +0000 (13:10 -0400)]
mention PIE
Todd C. Miller [Sat, 1 Sep 2012 17:10:04 +0000 (13:10 -0400)]
Add Vietnamese sudoers translation from translationproject.org
Todd C. Miller [Wed, 29 Aug 2012 20:08:02 +0000 (16:08 -0400)]
Add missing signame dependency
Todd C. Miller [Wed, 29 Aug 2012 18:40:25 +0000 (14:40 -0400)]
Silence compiler warnings.
Todd C. Miller [Wed, 29 Aug 2012 18:25:09 +0000 (14:25 -0400)]
Replace strsigname() with sig2str(), emulating it as needed.
Todd C. Miller [Wed, 29 Aug 2012 14:32:49 +0000 (10:32 -0400)]
Use fseeko() for legacy utmp handling if available.
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.
Todd C. Miller [Tue, 28 Aug 2012 13:40:56 +0000 (09:40 -0400)]
Handle NULL entries in sys_siglist and sys_signame.
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}
Todd C. Miller [Mon, 27 Aug 2012 15:28:38 +0000 (11:28 -0400)]
sync
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.
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
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.
Todd C. Miller [Thu, 23 Aug 2012 18:57:57 +0000 (14:57 -0400)]
Remove generated file and change path for temporary include file.
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.
Todd C. Miller [Thu, 23 Aug 2012 18:02:02 +0000 (14:02 -0400)]
Don't print an error message in yyerror() if open_sudoers() fails,
we've already printed an error message. Also restore the check
for sudoers_warnings in yyerror().
Todd C. Miller [Thu, 23 Aug 2012 15:28:44 +0000 (11:28 -0400)]
Avoid printing the >>> parse error <<< message for testsudoers
when the -t flag is specified.
Todd C. Miller [Wed, 22 Aug 2012 19:50:58 +0000 (15:50 -0400)]
Fix NULL deref when an entry has no Runas_Entry
Todd C. Miller [Wed, 22 Aug 2012 16:56:28 +0000 (12:56 -0400)]
sync with translationproject.org
Todd C. Miller [Wed, 22 Aug 2012 16:52:15 +0000 (12:52 -0400)]
sync
Todd C. Miller [Wed, 22 Aug 2012 16:52:07 +0000 (12:52 -0400)]
Correct the check_user() comment header.
Todd C. Miller [Wed, 22 Aug 2012 16:51:46 +0000 (12:51 -0400)]
Change a log_fatal() into log_error() when no auth methods are
configured. The caller already checks the return value.
Todd C. Miller [Wed, 22 Aug 2012 14:20:27 +0000 (10:20 -0400)]
Add missing debug_return
Todd C. Miller [Tue, 21 Aug 2012 19:11:43 +0000 (15:11 -0400)]
Make the capitalization consistent for .Ss and .Sx
Todd C. Miller [Tue, 21 Aug 2012 17:01:43 +0000 (13:01 -0400)]
Add COMMAND EXECUTION section that describes how sudo runs
the command, the extra sudo processes and signal handling.
Todd C. Miller [Sat, 18 Aug 2012 23:58:07 +0000 (19:58 -0400)]
Happy Easter
Todd C. Miller [Fri, 17 Aug 2012 19:58:45 +0000 (15:58 -0400)]
Don't echo the awk command when building siglist.in
Todd C. Miller [Fri, 17 Aug 2012 19:58:06 +0000 (15:58 -0400)]
Cosmetic changes.
Todd C. Miller [Fri, 17 Aug 2012 19:57:32 +0000 (15:57 -0400)]
The HISTORY, LICENSE and CONTRIBUTORS files are not longer generated.
Todd C. Miller [Fri, 17 Aug 2012 13:56:44 +0000 (09:56 -0400)]
Sync with translationproject.org and add Italian sudoers translation.
Todd C. Miller [Thu, 16 Aug 2012 14:11:04 +0000 (10:11 -0400)]
Expand description of fqdn to talk about systems where the hosts
file is searched before DNS.
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.
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.
Todd C. Miller [Wed, 15 Aug 2012 14:00:27 +0000 (10:00 -0400)]
sync polypkg from git
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".
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.
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.
Todd C. Miller [Mon, 13 Aug 2012 20:50:31 +0000 (16:50 -0400)]
Document sudoers log format.
Todd C. Miller [Mon, 13 Aug 2012 19:05:00 +0000 (15:05 -0400)]
Update for sudo 1.8.5p3
Todd C. Miller [Mon, 13 Aug 2012 18:51:24 +0000 (14:51 -0400)]
Added tag SUDO_1_8_5p3 for changeset
008a7807c354
--HG--
branch : 1.8
Todd C. Miller [Mon, 13 Aug 2012 18:51:09 +0000 (14:51 -0400)]
sudo 1.8.5p3
--HG--
branch : 1.8
Todd C. Miller [Mon, 13 Aug 2012 18:49:26 +0000 (14:49 -0400)]
Add missing check for I/O plugin API version when checking for the
presence of I/O plugin hooks.
--HG--
branch : 1.8
Todd C. Miller [Mon, 13 Aug 2012 18:48:48 +0000 (14:48 -0400)]
Can't call debug code in the process_hooks_xxx functions() since
ctime() may look up the timezone via the TZ environment variable.
--HG--
branch : 1.8
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.
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.
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.
Todd C. Miller [Fri, 10 Aug 2012 19:23:41 +0000 (15:23 -0400)]
Remove OPTIONS section; options now go inside DESCRIPTION
Todd C. Miller [Fri, 10 Aug 2012 17:18:19 +0000 (13:18 -0400)]
regen
Todd C. Miller [Fri, 10 Aug 2012 17:07:53 +0000 (13:07 -0400)]
Sync with translationproject.org and add new Slovenian translation.
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.
Todd C. Miller [Fri, 10 Aug 2012 16:07:52 +0000 (12:07 -0400)]
Mention HP-UX reboot fix.
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.
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.
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.
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.