]> granicus.if.org Git - sudo/log
sudo
14 years agoLoad plugins with RTLD_GLOBAL instead of RTLD_LOCAL. This fixes
Todd C. Miller [Mon, 6 Jun 2011 15:07:22 +0000 (11:07 -0400)]
Load plugins with RTLD_GLOBAL instead of RTLD_LOCAL.  This fixes
problems with pam modules not having access to symbols provided by
libpam on some platforms.  Affects FreeBSD and SLES 10 at least.

--HG--
branch : 1.8

14 years agoMove xgettext invocation out of update-po target into update-pot
Todd C. Miller [Mon, 6 Jun 2011 15:07:10 +0000 (11:07 -0400)]
Move xgettext invocation out of update-po target into update-pot

--HG--
branch : 1.8

14 years agoLoad plugins with RTLD_GLOBAL instead of RTLD_LOCAL. This fixes
Todd C. Miller [Mon, 6 Jun 2011 14:53:58 +0000 (10:53 -0400)]
Load plugins with RTLD_GLOBAL instead of RTLD_LOCAL.  This fixes
problems with pam modules not having access to symbols provided by
libpam on some platforms.  Affects FreeBSD and SLES 10 at least.

14 years agoMove xgettext invocation out of update-po target into update-pot
Todd C. Miller [Mon, 6 Jun 2011 12:46:50 +0000 (08:46 -0400)]
Move xgettext invocation out of update-po target into update-pot

14 years agoRegenerate .pot files for 1.8.2rc2
Todd C. Miller [Sat, 4 Jun 2011 22:32:16 +0000 (18:32 -0400)]
Regenerate .pot files for 1.8.2rc2

--HG--
branch : 1.8

14 years agoMove nls targets to the top level Makefile so the paths in
Todd C. Miller [Sat, 4 Jun 2011 22:31:46 +0000 (18:31 -0400)]
Move nls targets to the top level Makefile so the paths in
the pot file are saner

--HG--
branch : 1.8

14 years agoRegenerate .pot files for 1.8.2rc2
Todd C. Miller [Sat, 4 Jun 2011 22:27:59 +0000 (18:27 -0400)]
Regenerate .pot files for 1.8.2rc2

14 years agoMove nls targets to the top level Makefile so the paths in
Todd C. Miller [Sat, 4 Jun 2011 22:27:13 +0000 (18:27 -0400)]
Move nls targets to the top level Makefile so the paths in
the pot file are saner

14 years agoUpdate 1.8.2 news
Todd C. Miller [Sat, 4 Jun 2011 14:53:56 +0000 (10:53 -0400)]
Update 1.8.2 news

--HG--
branch : 1.8

14 years agoAdd compiled version of sudo Finish translation
Todd C. Miller [Sat, 4 Jun 2011 14:39:03 +0000 (10:39 -0400)]
Add compiled version of sudo Finish translation

--HG--
branch : 1.8

14 years agoAdd compiled version of sudo Finish translation
Todd C. Miller [Sat, 4 Jun 2011 14:14:41 +0000 (10:14 -0400)]
Add compiled version of sudo Finish translation

14 years agoUpdate MANIFEST with .po and .mo files
Todd C. Miller [Sat, 4 Jun 2011 14:12:24 +0000 (10:12 -0400)]
Update MANIFEST with .po and .mo files
Rebuild sudoers fi and uk .mo files

--HG--
branch : 1.8

14 years agoUpdate MANIFEST with .po and .mo files
Todd C. Miller [Sat, 4 Jun 2011 14:11:10 +0000 (10:11 -0400)]
Update MANIFEST with .po and .mo files
Rebuild sudoers fi and uk .mo files

14 years agoAdd Finish translation from translationproject.org
Todd C. Miller [Sat, 4 Jun 2011 14:02:24 +0000 (10:02 -0400)]
Add Finish translation from translationproject.org

--HG--
branch : 1.8

14 years agoThe group named by exempt_group should not have a % prefix.
Todd C. Miller [Sat, 4 Jun 2011 14:02:10 +0000 (10:02 -0400)]
The group named by exempt_group should not have a % prefix.

--HG--
branch : 1.8

14 years agoFix typo; "Defaults group_plugin" not "Defaults sudo_plugin"
Todd C. Miller [Sat, 4 Jun 2011 14:01:55 +0000 (10:01 -0400)]
Fix typo; "Defaults group_plugin" not "Defaults sudo_plugin"

--HG--
branch : 1.8

14 years agoFix compressed io log corruption in background mode by using _exit()
Todd C. Miller [Sat, 4 Jun 2011 14:01:39 +0000 (10:01 -0400)]
Fix compressed io log corruption in background mode by using _exit()
instead of exit() to avoid flushing buffers twice.

Improved background mode support.  When not allocating a pty, the
command is run in its own process group.  This prevents write access
to the tty.  When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.

--HG--
branch : 1.8

14 years agoAdd Finish translation from translationproject.org
Todd C. Miller [Sat, 4 Jun 2011 13:58:44 +0000 (09:58 -0400)]
Add Finish translation from translationproject.org

14 years agoThe group named by exempt_group should not have a % prefix.
Todd C. Miller [Fri, 3 Jun 2011 14:09:10 +0000 (10:09 -0400)]
The group named by exempt_group should not have a % prefix.

14 years agoFix typo; "Defaults group_plugin" not "Defaults sudo_plugin"
Todd C. Miller [Wed, 1 Jun 2011 16:26:13 +0000 (12:26 -0400)]
Fix typo; "Defaults group_plugin" not "Defaults sudo_plugin"

14 years agoFix compressed io log corruption in background mode by using _exit()
Todd C. Miller [Tue, 31 May 2011 16:49:22 +0000 (12:49 -0400)]
Fix compressed io log corruption in background mode by using _exit()
instead of exit() to avoid flushing buffers twice.

Improved background mode support.  When not allocating a pty, the
command is run in its own process group.  This prevents write access
to the tty.  When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.

14 years agoClean up regress files
Todd C. Miller [Tue, 31 May 2011 14:02:58 +0000 (10:02 -0400)]
Clean up regress files
Generate proper dependencies for regress objs in compat

--HG--
branch : 1.8

14 years agoAdd missing dependency for check_fill.o.
Todd C. Miller [Tue, 31 May 2011 14:02:48 +0000 (10:02 -0400)]
Add missing dependency for check_fill.o.

--HG--
branch : 1.8

14 years agoClean up regress files
Todd C. Miller [Tue, 31 May 2011 13:58:41 +0000 (09:58 -0400)]
Clean up regress files
Generate proper dependencies for regress objs in compat

14 years agoAdd missing dependency for check_fill.o.
Todd C. Miller [Tue, 31 May 2011 13:43:37 +0000 (09:43 -0400)]
Add missing dependency for check_fill.o.

14 years agoAdd support for --enable-nls[=location]
Todd C. Miller [Mon, 30 May 2011 14:38:17 +0000 (10:38 -0400)]
Add support for --enable-nls[=location]

--HG--
branch : 1.8

14 years agoAdd support for --enable-nls[=location]
Todd C. Miller [Sun, 29 May 2011 18:33:18 +0000 (14:33 -0400)]
Add support for --enable-nls[=location]

14 years agoInclude gettext.h
Todd C. Miller [Sat, 28 May 2011 19:32:33 +0000 (15:32 -0400)]
Include gettext.h

--HG--
branch : 1.8

14 years agoInclude gettext.h
Todd C. Miller [Sat, 28 May 2011 19:32:11 +0000 (15:32 -0400)]
Include gettext.h

14 years agoQuiet gcc warnings.
Todd C. Miller [Sat, 28 May 2011 19:27:52 +0000 (15:27 -0400)]
Quiet gcc warnings.

--HG--
branch : 1.8

14 years agoQuiet gcc warnings.
Todd C. Miller [Sat, 28 May 2011 19:27:14 +0000 (15:27 -0400)]
Quiet gcc warnings.

14 years agoDon't install .mo files if gettext was not found.
Todd C. Miller [Sat, 28 May 2011 13:19:28 +0000 (09:19 -0400)]
Don't install .mo files if gettext was not found.

--HG--
branch : 1.8

14 years agoDon't install .mo files if gettext was not found.
Todd C. Miller [Sat, 28 May 2011 13:18:46 +0000 (09:18 -0400)]
Don't install .mo files if gettext was not found.

14 years agoAlways allocate a pty when running a command in the background but
Todd C. Miller [Fri, 27 May 2011 19:59:06 +0000 (15:59 -0400)]
Always allocate a pty when running a command in the background but
call setsid() after forking to make sure we don't end up with a
controlling tty.

--HG--
branch : 1.8

14 years agoAdd missing space between command name and the first command line argument.
Todd C. Miller [Fri, 27 May 2011 19:58:56 +0000 (15:58 -0400)]
Add missing space between command name and the first command line argument.

--HG--
branch : 1.8

14 years agoQuiet a compiler warning on some platforms.
Todd C. Miller [Fri, 27 May 2011 19:58:40 +0000 (15:58 -0400)]
Quiet a compiler warning on some platforms.

--HG--
branch : 1.8

14 years agoREADME file that directs people to translationproject.org
Todd C. Miller [Fri, 27 May 2011 19:58:26 +0000 (15:58 -0400)]
README file that directs people to translationproject.org

--HG--
branch : 1.8

14 years agoSync translations with TP
Todd C. Miller [Fri, 27 May 2011 19:58:13 +0000 (15:58 -0400)]
Sync translations with TP

--HG--
branch : 1.8

14 years agoAdd 'sync-po' target to top-level Makefile to rsync the po files
Todd C. Miller [Fri, 27 May 2011 19:58:01 +0000 (15:58 -0400)]
Add 'sync-po' target to top-level Makefile to rsync the po files
from translationproject.org.

--HG--
branch : 1.8

14 years agoAlways allocate a pty when running a command in the background but
Todd C. Miller [Fri, 27 May 2011 19:20:20 +0000 (15:20 -0400)]
Always allocate a pty when running a command in the background but
call setsid() after forking to make sure we don't end up with a
controlling tty.

14 years agoAdd missing space between command name and the first command line argument.
Todd C. Miller [Fri, 27 May 2011 18:07:23 +0000 (14:07 -0400)]
Add missing space between command name and the first command line argument.

14 years agoQuiet a compiler warning on some platforms.
Todd C. Miller [Fri, 27 May 2011 17:50:37 +0000 (13:50 -0400)]
Quiet a compiler warning on some platforms.

14 years agoREADME file that directs people to translationproject.org
Todd C. Miller [Fri, 27 May 2011 17:15:27 +0000 (13:15 -0400)]
README file that directs people to translationproject.org

14 years agoSync translations with TP
Todd C. Miller [Fri, 27 May 2011 16:53:05 +0000 (12:53 -0400)]
Sync translations with TP

14 years agoAdd 'sync-po' target to top-level Makefile to rsync the po files
Todd C. Miller [Fri, 27 May 2011 16:52:47 +0000 (12:52 -0400)]
Add 'sync-po' target to top-level Makefile to rsync the po files
from translationproject.org.

14 years agoinstall nls files from install target
Todd C. Miller [Fri, 27 May 2011 14:25:30 +0000 (10:25 -0400)]
install nls files from install target

--HG--
branch : 1.8

14 years agoinstall nls files from install target
Todd C. Miller [Fri, 27 May 2011 14:24:55 +0000 (10:24 -0400)]
install nls files from install target

14 years agoInclude .mo files in sudo binary packags.
Todd C. Miller [Fri, 27 May 2011 14:18:31 +0000 (10:18 -0400)]
Include .mo files in sudo binary packags.

--HG--
branch : 1.8

14 years agoInclude .mo files in sudo binary packags.
Todd C. Miller [Fri, 27 May 2011 14:17:34 +0000 (10:17 -0400)]
Include .mo files in sudo binary packags.

14 years agoAdd simplified chinese translation
Todd C. Miller [Fri, 27 May 2011 11:57:13 +0000 (07:57 -0400)]
Add simplified chinese translation

--HG--
branch : 1.8

14 years agoAdd simplified chinese translation
Todd C. Miller [Fri, 27 May 2011 11:54:52 +0000 (07:54 -0400)]
Add simplified chinese translation

14 years agoAdd ukranian translation
Todd C. Miller [Thu, 26 May 2011 19:24:59 +0000 (15:24 -0400)]
Add ukranian translation

--HG--
branch : 1.8

14 years agoAdd ukranian translation
Todd C. Miller [Thu, 26 May 2011 19:23:55 +0000 (15:23 -0400)]
Add ukranian translation

14 years agorefer to siglist.c, not ./siglist.c since not all makes will
Todd C. Miller [Thu, 26 May 2011 19:19:25 +0000 (15:19 -0400)]
refer to siglist.c, not ./siglist.c since not all makes will
treat foo and ./foo the same.

--HG--
branch : 1.8

14 years agoSet def_preserve_groups before searching for the command when the -P
Todd C. Miller [Thu, 26 May 2011 19:19:12 +0000 (15:19 -0400)]
Set def_preserve_groups before searching for the command when the -P
flag is specified.

--HG--
branch : 1.8

14 years agorefer to siglist.c, not ./siglist.c since not all makes will
Todd C. Miller [Thu, 26 May 2011 19:18:11 +0000 (15:18 -0400)]
refer to siglist.c, not ./siglist.c since not all makes will
treat foo and ./foo the same.

14 years agoSet def_preserve_groups before searching for the command when the -P
Todd C. Miller [Thu, 26 May 2011 16:52:59 +0000 (12:52 -0400)]
Set def_preserve_groups before searching for the command when the -P
flag is specified.

14 years agoAdd dependency for siglist.lo in compat. This is a generated file so
Todd C. Miller [Thu, 26 May 2011 16:15:01 +0000 (12:15 -0400)]
Add dependency for siglist.lo in compat.  This is a generated file so
"make depend" needs to depend on it.

--HG--
branch : 1.8

14 years agoAdd dependency for siglist.lo in compat. This is a generated file so
Todd C. Miller [Thu, 26 May 2011 16:12:43 +0000 (12:12 -0400)]
Add dependency for siglist.lo in compat.  This is a generated file so
"make depend" needs to depend on it.

14 years agoMore dependency fixes.
Todd C. Miller [Thu, 26 May 2011 15:46:50 +0000 (11:46 -0400)]
More dependency fixes.

--HG--
branch : 1.8

14 years agoMore dependency fixes.
Todd C. Miller [Thu, 26 May 2011 15:46:11 +0000 (11:46 -0400)]
More dependency fixes.

14 years agoFix a few dependencies.
Todd C. Miller [Thu, 26 May 2011 15:42:14 +0000 (11:42 -0400)]
Fix a few dependencies.

--HG--
branch : 1.8

14 years agoFix a few dependencies.
Todd C. Miller [Thu, 26 May 2011 15:41:13 +0000 (11:41 -0400)]
Fix a few dependencies.

14 years agoPlace compiled mo files in the src dir, not the build dir.
Todd C. Miller [Thu, 26 May 2011 15:21:42 +0000 (11:21 -0400)]
Place compiled mo files in the src dir, not the build dir.
When installing compiled mo files, display a status message.

--HG--
branch : 1.8

14 years agoPlace compiled mo files in the src dir, not the build dir.
Todd C. Miller [Thu, 26 May 2011 15:12:54 +0000 (11:12 -0400)]
Place compiled mo files in the src dir, not the build dir.
When installing compiled mo files, display a status message.

14 years agoTivoli Directory Server requires that seconds be present in a
Todd C. Miller [Wed, 25 May 2011 19:06:21 +0000 (15:06 -0400)]
Tivoli Directory Server requires that seconds be present in a
timestamp, even though RFC 4517 states that they are optional.

--HG--
branch : 1.8

14 years agoTivoli Directory Server requires that seconds be present in a
Todd C. Miller [Wed, 25 May 2011 19:04:34 +0000 (15:04 -0400)]
Tivoli Directory Server requires that seconds be present in a
timestamp, even though RFC 4517 states that they are optional.

14 years agoAdd missing bit of copyright
Todd C. Miller [Wed, 25 May 2011 18:16:33 +0000 (14:16 -0400)]
Add missing bit of copyright

--HG--
branch : 1.8

14 years agoAdd missing bit of copyright
Todd C. Miller [Wed, 25 May 2011 18:15:37 +0000 (14:15 -0400)]
Add missing bit of copyright

14 years agoMention cycle detection warnings
Todd C. Miller [Wed, 25 May 2011 17:11:37 +0000 (13:11 -0400)]
Mention cycle detection warnings

--HG--
branch : 1.8

14 years agoWhen checking aliases, also check the contents of the alias in case there
Todd C. Miller [Wed, 25 May 2011 17:11:25 +0000 (13:11 -0400)]
When checking aliases, also check the contents of the alias in case there
are problems with an alias that is referenced inside another.
Replace the self reference check with real alias cycle detection.

--HG--
branch : 1.8

14 years agoSet errno to ELOOP in alias_find() if there is a cycle.
Todd C. Miller [Wed, 25 May 2011 17:11:10 +0000 (13:11 -0400)]
Set errno to ELOOP in alias_find() if there is a cycle.
Set errno to ENOENT in alias_find() and alias_remove() if the
entry could not be found.

--HG--
branch : 1.8

14 years agoIncrement alias_seqno before calls to alias_remove_recursive() to
Todd C. Miller [Wed, 25 May 2011 17:10:51 +0000 (13:10 -0400)]
Increment alias_seqno before calls to alias_remove_recursive() to
avoid false positives with the alias loop detection.  Fixes spurious
warnings about unused aliases when they are nested.

--HG--
branch : 1.8

14 years agoMention cycle detection warnings
Todd C. Miller [Wed, 25 May 2011 17:07:43 +0000 (13:07 -0400)]
Mention cycle detection warnings

14 years agoWhen checking aliases, also check the contents of the alias in case there
Todd C. Miller [Wed, 25 May 2011 17:04:13 +0000 (13:04 -0400)]
When checking aliases, also check the contents of the alias in case there
are problems with an alias that is referenced inside another.
Replace the self reference check with real alias cycle detection.

14 years agoSet errno to ELOOP in alias_find() if there is a cycle.
Todd C. Miller [Wed, 25 May 2011 16:54:15 +0000 (12:54 -0400)]
Set errno to ELOOP in alias_find() if there is a cycle.
Set errno to ENOENT in alias_find() and alias_remove() if the
entry could not be found.

14 years agoIncrement alias_seqno before calls to alias_remove_recursive() to
Todd C. Miller [Wed, 25 May 2011 15:31:11 +0000 (11:31 -0400)]
Increment alias_seqno before calls to alias_remove_recursive() to
avoid false positives with the alias loop detection.  Fixes spurious
warnings about unused aliases when they are nested.

14 years agoadd mkdep.pl
Todd C. Miller [Wed, 25 May 2011 14:24:37 +0000 (10:24 -0400)]
add mkdep.pl

--HG--
branch : 1.8

14 years agoAdd dependency on convenience libs to binaries
Todd C. Miller [Wed, 25 May 2011 14:24:24 +0000 (10:24 -0400)]
Add dependency on convenience libs to binaries

--HG--
branch : 1.8

14 years agomkdep.pl only works when run from the src dir
Todd C. Miller [Wed, 25 May 2011 14:24:09 +0000 (10:24 -0400)]
mkdep.pl only works when run from the src dir

--HG--
branch : 1.8

14 years agoAuto-generate Makefile dependencies with a perl script.
Todd C. Miller [Wed, 25 May 2011 14:23:49 +0000 (10:23 -0400)]
Auto-generate Makefile dependencies with a perl script.

--HG--
branch : 1.8

14 years agoadd mkdep.pl
Todd C. Miller [Wed, 25 May 2011 14:20:07 +0000 (10:20 -0400)]
add mkdep.pl

14 years agoAdd dependency on convenience libs to binaries
Todd C. Miller [Wed, 25 May 2011 14:19:29 +0000 (10:19 -0400)]
Add dependency on convenience libs to binaries

14 years agomkdep.pl only works when run from the src dir
Todd C. Miller [Wed, 25 May 2011 14:07:20 +0000 (10:07 -0400)]
mkdep.pl only works when run from the src dir

14 years agoAuto-generate Makefile dependencies with a perl script.
Todd C. Miller [Wed, 25 May 2011 13:02:25 +0000 (09:02 -0400)]
Auto-generate Makefile dependencies with a perl script.

14 years agoIf the user specifies a runas group via sudo's -g option that matches
Todd C. Miller [Mon, 23 May 2011 18:06:17 +0000 (14:06 -0400)]
If the user specifies a runas group via sudo's -g option that matches
the runas user's group in the passwd database and that group is not
denied in the Runas_Spec, allow it.  Thus, if user root's gid in
/etc/passwd is 0, then "sudo -u root -g root id" is allow even if
no groups are present in the Runas_Spec.

--HG--
branch : 1.8

14 years agoIf the user specifies a runas group via sudo's -g option that matches
Todd C. Miller [Mon, 23 May 2011 18:00:54 +0000 (14:00 -0400)]
If the user specifies a runas group via sudo's -g option that matches
the runas user's group in the passwd database and that group is not
denied in the Runas_Spec, allow it.  Thus, if user root's gid in
/etc/passwd is 0, then "sudo -u root -g root id" is allow even if
no groups are present in the Runas_Spec.

14 years agoMention what is new in 1.8.2 (for now)
Todd C. Miller [Sun, 22 May 2011 19:58:46 +0000 (15:58 -0400)]
Mention what is new in 1.8.2 (for now)

--HG--
branch : 1.8

14 years agoAdd dependencies on gettext.h
Todd C. Miller [Sun, 22 May 2011 17:38:42 +0000 (13:38 -0400)]
Add dependencies on gettext.h

--HG--
branch : 1.8

14 years agoAdd dependencies on gettext.h
Todd C. Miller [Sun, 22 May 2011 17:31:48 +0000 (13:31 -0400)]
Add dependencies on gettext.h

14 years agoFix install-nls target with HP-UX sh when gettext is not present.
Todd C. Miller [Sun, 22 May 2011 14:11:55 +0000 (10:11 -0400)]
Fix install-nls target with HP-UX sh when gettext is not present.

--HG--
branch : 1.8

14 years agoFix install-nls target with HP-UX sh when gettext is not present.
Todd C. Miller [Sun, 22 May 2011 14:10:43 +0000 (10:10 -0400)]
Fix install-nls target with HP-UX sh when gettext is not present.

14 years agoRegen for sudo 1.8.2
Todd C. Miller [Sun, 22 May 2011 12:36:17 +0000 (08:36 -0400)]
Regen for sudo 1.8.2

--HG--
branch : 1.8

14 years agoregenerate .pot files for lbuf changes
Todd C. Miller [Fri, 20 May 2011 19:36:42 +0000 (15:36 -0400)]
regenerate .pot files for lbuf changes

--HG--
branch : 1.8

14 years agoAdd missing "checking" message for gettext when using the cache.
Todd C. Miller [Fri, 20 May 2011 19:36:27 +0000 (15:36 -0400)]
Add missing "checking" message for gettext when using the cache.

--HG--
branch : 1.8

14 years agoAdd primitive format string support to the lbuf code to make
Todd C. Miller [Fri, 20 May 2011 19:36:11 +0000 (15:36 -0400)]
Add primitive format string support to the lbuf code to make
translations simpler.

--HG--
branch : 1.8

14 years agoregenerate .pot files for lbuf changes
Todd C. Miller [Fri, 20 May 2011 19:33:34 +0000 (15:33 -0400)]
regenerate .pot files for lbuf changes

14 years agoAdd missing "checking" message for gettext when using the cache.
Todd C. Miller [Fri, 20 May 2011 19:27:45 +0000 (15:27 -0400)]
Add missing "checking" message for gettext when using the cache.

14 years agoAdd primitive format string support to the lbuf code to make translations
Todd C. Miller [Fri, 20 May 2011 19:25:03 +0000 (15:25 -0400)]
Add primitive format string support to the lbuf code to make translations
simpler.

14 years agoBump version to 1.8.2
Todd C. Miller [Fri, 20 May 2011 17:39:37 +0000 (13:39 -0400)]
Bump version to 1.8.2

--HG--
branch : 1.8