]>
granicus.if.org Git - sudo/log
Todd C. Miller [Fri, 9 Mar 2012 15:07:00 +0000 (10:07 -0500)]
Honor LDFLAGS when linking sesh; from Vita Cizek
--HG--
branch : 1.8
Todd C. Miller [Fri, 9 Mar 2012 15:06:27 +0000 (10:06 -0500)]
Include alloc.h for estrdup() prototype; from Vita Cizek
--HG--
branch : 1.8
Todd C. Miller [Thu, 8 Mar 2012 18:19:39 +0000 (13:19 -0500)]
Fix editor goof.
--HG--
branch : 1.8
Todd C. Miller [Thu, 1 Mar 2012 18:05:03 +0000 (13:05 -0500)]
Add check for variadic macro support in cpp.
--HG--
branch : 1.8
Todd C. Miller [Tue, 28 Feb 2012 19:16:39 +0000 (14:16 -0500)]
Check the owner and mode in -c (check) mode unless the -f option
is specified. Previously, the owner and mode were checked on the
main sudoers file when the -s (strict) option was given, but this
was not documented.
--HG--
branch : 1.8
Todd C. Miller [Tue, 28 Feb 2012 15:33:16 +0000 (10:33 -0500)]
Prefer KERN_PROC2 over KERN_PROC. Fixes compilation on some versions
of OpenBSD versions that have KERN_PROC2 but not KERN_PROC.
--HG--
branch : 1.8
Todd C. Miller [Mon, 27 Feb 2012 20:15:22 +0000 (15:15 -0500)]
Added tag SUDO_1_8_4p2 for changeset
db564e1c02cf
--HG--
branch : 1.8
Todd C. Miller [Mon, 27 Feb 2012 19:58:08 +0000 (14:58 -0500)]
bump version to 1.8.4p2
--HG--
branch : 1.8
Todd C. Miller [Mon, 27 Feb 2012 19:46:11 +0000 (14:46 -0500)]
Fix typo in safe_close() made while converting to debug framework
that prevented it from actually closing anything.
--HG--
branch : 1.8
Todd C. Miller [Mon, 27 Feb 2012 18:28:15 +0000 (13:28 -0500)]
We need sysconfdir in compat/Makfile to get the proper sudo.conf
path. Add standard prefix and foodir expansion in all Makefiles
to avoid this problem in the future.
--HG--
branch : 1.8
Todd C. Miller [Fri, 24 Feb 2012 20:17:48 +0000 (15:17 -0500)]
When adding gids to the LDAP filter, only add the primary gid once.
This is consistent with the space computation/allocation.
From Eric Lakin
--HG--
branch : 1.8
Todd C. Miller [Fri, 24 Feb 2012 19:32:57 +0000 (14:32 -0500)]
Add entry for AIX enhanced RBAC config.
--HG--
branch : 1.8
Todd C. Miller [Fri, 24 Feb 2012 18:40:39 +0000 (13:40 -0500)]
Target Mac OS X 10.5 when building packages.
--HG--
branch : 1.8
Todd C. Miller [Tue, 21 Feb 2012 10:25:37 +0000 (05:25 -0500)]
Added tag SUDO_1_8_4p1 for changeset
aeb6b9701150
--HG--
branch : 1.8
Todd C. Miller [Tue, 21 Feb 2012 10:25:26 +0000 (05:25 -0500)]
List 1.8.4p1
--HG--
branch : 1.8
Todd C. Miller [Tue, 21 Feb 2012 10:18:17 +0000 (05:18 -0500)]
bump version to 1.8.4p1
--HG--
branch : 1.8
Todd C. Miller [Tue, 21 Feb 2012 10:17:28 +0000 (05:17 -0500)]
Fix the description of noexec.
--HG--
branch : 1.8
Todd C. Miller [Tue, 21 Feb 2012 10:17:14 +0000 (05:17 -0500)]
The "op" parameter to set_default() must be int, not bool since it is
set to '+' or '-' for list add and subtract.
--HG--
branch : 1.8
Todd C. Miller [Tue, 21 Feb 2012 10:16:40 +0000 (05:16 -0500)]
Make sure sudoers is writable before calling ed script.
--HG--
branch : 1.8
Todd C. Miller [Tue, 21 Feb 2012 10:15:48 +0000 (05:15 -0500)]
Fix the description of noexec.
Todd C. Miller [Tue, 21 Feb 2012 10:13:13 +0000 (05:13 -0500)]
The "op" parameter to set_default() must be int, not bool since it is
set to '+' or '-' for list add and subtract.
Todd C. Miller [Tue, 21 Feb 2012 09:54:08 +0000 (04:54 -0500)]
Make sure sudoers is writable before calling ed script.
Todd C. Miller [Fri, 17 Feb 2012 18:47:18 +0000 (13:47 -0500)]
Added tag SUDO_1_8_4 for changeset
7b0b7dfc84c7
--HG--
branch : 1.8
Todd C. Miller [Fri, 17 Feb 2012 16:31:03 +0000 (11:31 -0500)]
Update contributors. Now includes translators and authors of compat
code.
--HG--
branch : 1.8
Todd C. Miller [Fri, 17 Feb 2012 16:30:42 +0000 (11:30 -0500)]
Update contributors. Now includes translators and authors of compat
code.
Todd C. Miller [Thu, 16 Feb 2012 22:06:29 +0000 (17:06 -0500)]
regen
--HG--
branch : 1.8
Todd C. Miller [Thu, 16 Feb 2012 22:03:46 +0000 (17:03 -0500)]
regen
Todd C. Miller [Thu, 16 Feb 2012 16:31:45 +0000 (11:31 -0500)]
Build flat packages, not package bundles, on Mac OS X.
--HG--
branch : 1.8
Todd C. Miller [Thu, 16 Feb 2012 16:27:22 +0000 (11:27 -0500)]
Build flat packages, not package bundles, on Mac OS X.
Todd C. Miller [Fri, 10 Feb 2012 21:22:21 +0000 (16:22 -0500)]
Move macos section to be with the other OS-specific sections.
Todd C. Miller [Fri, 10 Feb 2012 19:30:33 +0000 (14:30 -0500)]
Sync with translationproject.org
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Feb 2012 19:30:01 +0000 (14:30 -0500)]
Sync with translationproject.org
Todd C. Miller [Fri, 10 Feb 2012 19:28:33 +0000 (14:28 -0500)]
Don't permanently add -D_FORTIFY_SOURCE=2 to CPPFLAGS
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Feb 2012 19:28:10 +0000 (14:28 -0500)]
Don't permanently add -D_FORTIFY_SOURCE=2 to CPPFLAGS
Todd C. Miller [Fri, 10 Feb 2012 17:59:43 +0000 (12:59 -0500)]
Move macos section to be with the other OS-specific sections.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Feb 2012 17:50:35 +0000 (12:50 -0500)]
Add Mac OS X support, printing the latest chunk of the NEWS file
and the license text in the installer.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Feb 2012 17:50:15 +0000 (12:50 -0500)]
Add Mac OS X support, printing the latest chunk of the NEWS file
and the license text in the installer.
Todd C. Miller [Fri, 10 Feb 2012 17:47:49 +0000 (12:47 -0500)]
Add explicit file modes that match those used by "make install"
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Feb 2012 17:47:40 +0000 (12:47 -0500)]
Sync with upstream for Mac OS X fixes.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Feb 2012 17:47:30 +0000 (12:47 -0500)]
Got back to using "install-sh -M" for files installed as non-readable
by owner. This fixes "make install" as non-root for package building.
--HG--
branch : 1.8
Todd C. Miller [Fri, 10 Feb 2012 17:35:41 +0000 (12:35 -0500)]
Add explicit file modes that match those used by "make install"
Todd C. Miller [Fri, 10 Feb 2012 16:34:08 +0000 (11:34 -0500)]
Sync with upstream for Mac OS X fixes.
Todd C. Miller [Fri, 10 Feb 2012 16:31:54 +0000 (11:31 -0500)]
Got back to using "install-sh -M" for files installed as non-readable
by owner. This fixes "make install" as non-root for package building.
Todd C. Miller [Thu, 9 Feb 2012 16:20:40 +0000 (11:20 -0500)]
Sync with translationproject.org
--HG--
branch : 1.8
Todd C. Miller [Thu, 9 Feb 2012 16:20:29 +0000 (11:20 -0500)]
Use -m not -M for install-sh for everything except setuid.
Install locale .mo files mode 0444, not 0644.
If timedir parent doesn't exist, use default dir mode, not 0700.
--HG--
branch : 1.8
Todd C. Miller [Thu, 9 Feb 2012 16:17:35 +0000 (11:17 -0500)]
Sync with translationproject.org
Todd C. Miller [Thu, 9 Feb 2012 16:11:58 +0000 (11:11 -0500)]
Use -m not -M for install-sh for everything except setuid.
Install locale .mo files mode 0444, not 0644.
If timedir parent doesn't exist, use default dir mode, not 0700.
Todd C. Miller [Tue, 7 Feb 2012 18:26:52 +0000 (13:26 -0500)]
Re-sync with upstream; no longer need a local patch.
--HG--
branch : 1.8
Todd C. Miller [Tue, 7 Feb 2012 18:26:27 +0000 (13:26 -0500)]
Re-sync with upstream; no longer need a local patch.
Todd C. Miller [Tue, 7 Feb 2012 16:50:51 +0000 (11:50 -0500)]
Add support for building Mac OS X packages.
--HG--
branch : 1.8
Todd C. Miller [Tue, 7 Feb 2012 16:49:46 +0000 (11:49 -0500)]
Add support for building Mac OS X packages.
Todd C. Miller [Tue, 7 Feb 2012 16:46:18 +0000 (11:46 -0500)]
Sync with upstream
--HG--
branch : 1.8
Todd C. Miller [Tue, 7 Feb 2012 16:46:08 +0000 (11:46 -0500)]
No longer need to define _PATH_SUDO_CONF here.
--HG--
branch : 1.8
Todd C. Miller [Tue, 7 Feb 2012 16:45:42 +0000 (11:45 -0500)]
Sync with upstream
Todd C. Miller [Tue, 7 Feb 2012 16:45:11 +0000 (11:45 -0500)]
No longer need to define _PATH_SUDO_CONF here.
Todd C. Miller [Tue, 7 Feb 2012 05:18:42 +0000 (00:18 -0500)]
Fix noexec for Mac OS X.
--HG--
branch : 1.8
Todd C. Miller [Tue, 7 Feb 2012 05:18:08 +0000 (00:18 -0500)]
Fix noexec for Mac OS X.
Todd C. Miller [Mon, 6 Feb 2012 21:02:05 +0000 (16:02 -0500)]
Move _PATH_SUDO_CONF override to common to match sudo_conf.c
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Feb 2012 20:57:26 +0000 (15:57 -0500)]
Move _PATH_SUDO_CONF override to common to match sudo_debug.c
Todd C. Miller [Mon, 6 Feb 2012 20:48:19 +0000 (15:48 -0500)]
fix version in .pot files
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Feb 2012 20:47:22 +0000 (15:47 -0500)]
More complete fix for LDR_PRELOAD on AIX. The addition of
set_perm(PERM_ROOT) before calling the nss open functions (needed
to avoid a GNU TLS bug) also broke LDR_PRELOAD. Setting the effective
and then real uid to 0 for PERM_ROOT works around the issue.
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Feb 2012 20:46:17 +0000 (15:46 -0500)]
More complete fix for LDR_PRELOAD on AIX. The addition of
set_perm(PERM_ROOT) before calling the nss open functions (needed
to avoid a GNU TLS bug) also broke LDR_PRELOAD. Setting the effective
and then real uid to 0 for PERM_ROOT works around the issue.
Todd C. Miller [Mon, 6 Feb 2012 18:41:26 +0000 (13:41 -0500)]
regen
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Feb 2012 18:40:24 +0000 (13:40 -0500)]
regen
Todd C. Miller [Mon, 6 Feb 2012 18:37:26 +0000 (13:37 -0500)]
Set real uid to root before calling sudo_edit() or run_command()
so that the monitor process is owned by root and not by the user.
Otherwise, on AIX at least, the monitor process shows up in ps as
belonging to the user (and can be killed by the user).
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Feb 2012 18:37:11 +0000 (13:37 -0500)]
For PERM_ROOT when using setreuid(), only set the euid to 0 prior
to the call to setuid(0) if the current euid is non-zero. This
effectively restores the state of things prior to rev
7bfeb629fccb .
Fixes a problem on AIX where LDR_PRELOAD was not being honored for
the command being executed.
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Feb 2012 18:36:57 +0000 (13:36 -0500)]
Make a copy of the struct passwd in exec_setup() to make sure nothing
in the policy init modifies it.
--HG--
branch : 1.8
Todd C. Miller [Mon, 6 Feb 2012 18:33:46 +0000 (13:33 -0500)]
Set real uid to root before calling sudo_edit() or run_command()
so that the monitor process is owned by root and not by the user.
Otherwise, on AIX at least, the monitor process shows up in ps as
belonging to the user (and can be killed by the user).
Todd C. Miller [Mon, 6 Feb 2012 18:29:19 +0000 (13:29 -0500)]
For PERM_ROOT when using setreuid(), only set the euid to 0 prior
to the call to setuid(0) if the current euid is non-zero. This
effectively restores the state of things prior to rev
7bfeb629fccb .
Fixes a problem on AIX where LDR_PRELOAD was not being honored for
the command being executed.
Todd C. Miller [Mon, 6 Feb 2012 15:56:39 +0000 (10:56 -0500)]
Make a copy of the struct passwd in exec_setup() to make sure nothing
in the policy init modifies it.
Todd C. Miller [Sun, 5 Feb 2012 18:36:52 +0000 (13:36 -0500)]
regen
--HG--
branch : 1.8
Todd C. Miller [Sun, 5 Feb 2012 18:36:06 +0000 (13:36 -0500)]
update copyright
--HG--
branch : 1.8
Todd C. Miller [Sun, 5 Feb 2012 18:35:20 +0000 (13:35 -0500)]
update copyright
Todd C. Miller [Sun, 5 Feb 2012 15:18:55 +0000 (10:18 -0500)]
g/c now-unused debug subsystems
--HG--
branch : 1.8
Todd C. Miller [Sun, 5 Feb 2012 15:18:46 +0000 (10:18 -0500)]
Enumerate the debug subsystems used by sudo and sudoers.
--HG--
branch : 1.8
Todd C. Miller [Sun, 5 Feb 2012 15:17:26 +0000 (10:17 -0500)]
g/c now-unused debug subsystems
Todd C. Miller [Sun, 5 Feb 2012 15:17:09 +0000 (10:17 -0500)]
Enumerate the debug subsystems used by sudo and sudoers.
Todd C. Miller [Fri, 3 Feb 2012 19:59:36 +0000 (14:59 -0500)]
Normally, sudo disables core dumps while it is running. This
behavior can now be modified at run time with a line in sudo.conf
like "Set disable_coredumps false"
--HG--
branch : 1.8
Todd C. Miller [Fri, 3 Feb 2012 19:57:03 +0000 (14:57 -0500)]
Normally, sudo disables core dumps while it is running. This
behavior can now be modified at run time with a line in sudo.conf
like "Set disable_coredumps false"
Todd C. Miller [Fri, 3 Feb 2012 17:31:42 +0000 (12:31 -0500)]
Mention Spanish translation
--HG--
branch : 1.8
Todd C. Miller [Fri, 3 Feb 2012 17:31:24 +0000 (12:31 -0500)]
Mention Spanish translation
Todd C. Miller [Fri, 3 Feb 2012 17:30:36 +0000 (12:30 -0500)]
Make sure we don't try to fall back to using the conversation
function for debugging in the main sudo process if we are unable
to open the debug file.
--HG--
branch : 1.8
Todd C. Miller [Fri, 3 Feb 2012 17:30:07 +0000 (12:30 -0500)]
Make sure we don't try to fall back to using the conversation
function for debugging in the main sudo process if we are unable
to open the debug file.
Todd C. Miller [Fri, 3 Feb 2012 14:16:34 +0000 (09:16 -0500)]
Add sudo Spanish translation from translationproject.org
--HG--
branch : 1.8
Todd C. Miller [Fri, 3 Feb 2012 14:16:24 +0000 (09:16 -0500)]
Better debug subsystem usage
--HG--
branch : 1.8
Todd C. Miller [Fri, 3 Feb 2012 14:16:14 +0000 (09:16 -0500)]
Remove duplicate function prototypes
--HG--
branch : 1.8
Todd C. Miller [Fri, 3 Feb 2012 14:15:14 +0000 (09:15 -0500)]
Add sudo Spanish translation from translationproject.org
Todd C. Miller [Thu, 2 Feb 2012 16:28:33 +0000 (11:28 -0500)]
Better debug subsystem usage
Todd C. Miller [Thu, 2 Feb 2012 16:28:19 +0000 (11:28 -0500)]
Remove duplicate function prototypes
Todd C. Miller [Wed, 1 Feb 2012 16:28:21 +0000 (11:28 -0500)]
Error out if user specified --with-pam but we can't find the headers
or library. Also throw an error if the headers are present but the
library is not and vice versa.
--HG--
branch : 1.8
Todd C. Miller [Wed, 1 Feb 2012 16:27:50 +0000 (11:27 -0500)]
Error out if user specified --with-pam but we can't find the headers
or library. Also throw an error if the headers are present but the
library is not and vice versa.
Todd C. Miller [Tue, 31 Jan 2012 21:28:20 +0000 (16:28 -0500)]
Fix the sudoers permission check when the expected sudoers mode is
owner-writable.
--HG--
branch : 1.8
Todd C. Miller [Tue, 31 Jan 2012 21:24:57 +0000 (16:24 -0500)]
Fix the sudoers permission check when the expected sudoers mode is
owner-writable.
Todd C. Miller [Mon, 30 Jan 2012 19:10:37 +0000 (14:10 -0500)]
Verify that we can link executables built with -D_FORTIFY_SOURCE
before using it.
--HG--
branch : 1.8
Todd C. Miller [Mon, 30 Jan 2012 19:09:17 +0000 (14:09 -0500)]
Verify that we can link executables built with -D_FORTIFY_SOURCE
before using it.
Todd C. Miller [Mon, 30 Jan 2012 18:49:55 +0000 (13:49 -0500)]
Fix potential off-by-one when making a copy of the environment for
LD_PRELOAD insertion. Fixes bug #534
--HG--
branch : 1.8
Todd C. Miller [Mon, 30 Jan 2012 18:49:24 +0000 (13:49 -0500)]
Fix potential off-by-one when making a copy of the environment for
LD_PRELOAD insertion. Fixes bug #534
Todd C. Miller [Mon, 30 Jan 2012 15:10:14 +0000 (10:10 -0500)]
Add rudimentary check for _FORTIFY_SOURCE support by checking for
__sprintf_chk, one of the functions used by gcc to support it.
--HG--
branch : 1.8
Todd C. Miller [Mon, 30 Jan 2012 15:10:01 +0000 (10:10 -0500)]
Use AC_HEADER_STDBOOL instead of checking for stdbool.h ourselves.
--HG--
branch : 1.8
Todd C. Miller [Mon, 30 Jan 2012 15:09:23 +0000 (10:09 -0500)]
Add rudimentary check for _FORTIFY_SOURCE support by checking for
__sprintf_chk, one of the functions used by gcc to support it.