Commit Graph

5353 Commits

Author SHA1 Message Date
Todd C. Miller
aef91eb1df Add zlib 2010-11-09 08:00:41 -05:00
Todd C. Miller
19c1675be6 Add missing targets 2010-11-09 07:41:46 -05:00
Todd C. Miller
c6965a5303 g/c unused $(GENERATED) 2010-11-09 07:41:34 -05:00
Todd C. Miller
452d8765b2 Zero out group_plugin on unload just to be safe. 2010-11-08 17:48:05 -05:00
Todd C. Miller
da35e5f42f Unload group plugin if its init function fails. 2010-11-08 17:44:32 -05:00
Todd C. Miller
01dcbfce70 Only chdir to cwd if it is different from the current cwd or there
is a new root (chroot).
2010-11-08 16:40:11 -05:00
Todd C. Miller
8528827500 Bump version to 1.8.0b2 2010-11-08 11:27:20 -05:00
Todd C. Miller
d54dd245a8 Better --enable-zlib description 2010-10-28 14:31:00 -04:00
Todd C. Miller
1c08498534 Use system zlib on Linux
Let configure decide on Solaris
For all others, use builtin zlib
2010-10-28 12:24:05 -04:00
Todd C. Miller
3591af5760 Add large file support. 2010-10-28 12:10:10 -04:00
Todd C. Miller
6247b85469 Add large file support. 2010-10-28 12:09:17 -04:00
Todd C. Miller
361cd29073 Add local copy of zlib for systems that lack it. 2010-10-28 11:17:40 -04:00
Todd C. Miller
a11e4c8d72 If perform_io() fails, kill the child before exiting so it doesn't
complain about connection reset.  We can get an I/O error if, for
example, and we get EIO reading from stdin.
2010-10-15 16:24:42 -04:00
Todd C. Miller
93d2420de9 Fix complilation on systems with set_auth_parameters()
Sprinkle volatile to quiet warnings from gcc 2.8.0
2010-10-12 10:47:16 -04:00
Todd C. Miller
e4abd86c6b Avoid potential namespace issues with dlopen() emulation. 2010-10-12 10:32:47 -04:00
Todd C. Miller
609c5db8fa sync 2010-10-12 10:32:17 -04:00
Todd C. Miller
c615ca742a Use INADDR_NONE instead of casting -1 to in_addr_t (which may not exist). 2010-10-12 10:31:21 -04:00
Todd C. Miller
a178a430a2 Mark ChangeLog as PHONY
Don't overwrite ChangeLog if we can't run hg
2010-10-12 09:36:01 -04:00
Todd C. Miller
49d1142dfa HP-UX 10.20 libc has an incompatible getline 2010-10-12 09:24:24 -04:00
Todd C. Miller
1e01f2b7ac Quiet an HP-UX compiler warning. 2010-10-12 09:23:52 -04:00
Todd C. Miller
56bdfe9413 Check for vi even with --with-editor specified; the sample plugin needs it. 2010-10-12 09:08:09 -04:00
Todd C. Miller
070446bc33 Fix remaining syntax errors. 2010-10-11 21:10:34 -04:00
Todd C. Miller
298d0cbe2d sudo binary depends on the libtool-generated libs 2010-10-11 17:40:23 -04:00
Todd C. Miller
86a4a5232f Use HAVE_DLOPEN instead of HAVE_DLFCN_H when determining whether to
include the local or system dlfcn.h
2010-10-11 17:39:51 -04:00
Todd C. Miller
798fc86a9c Don't use run_as_superuser=false on HP-UX 2010-10-11 16:15:01 -04:00
Todd C. Miller
3ff8d5e781 Use memset() instead of zero_bytes() since we don't include sudoers.h 2010-10-11 15:51:21 -04:00
Todd C. Miller
06b0aa1185 Fix pasto; AF_INET not AF_INET6 2010-10-11 15:43:59 -04:00
Todd C. Miller
de68538487 Actually call shl_load() 2010-10-11 15:19:00 -04:00
Todd C. Miller
e2e5cfe180 Update from git repo.
Debian: version numbers now compliant with policy section 5.6.12
HP-UX: minimal changes needed to work on HP-UX 10.20
2010-10-11 14:24:10 -04:00
Todd C. Miller
443d18b11a Fix dlopen() detection for systems where dlopen() is in a separate library. 2010-10-11 09:21:56 -04:00
Todd C. Miller
6a52054147 If pam_acct_mgmt() returns PAM_AUTH_ERR print a (hopefully) more useful
message and return AUTH_FATAL so sudo does not keep trying to validate
the user.
2010-10-11 09:12:23 -04:00
Todd C. Miller
5fc7233d2f sudo_preload_table is an array 2010-10-11 09:12:07 -04:00
Todd C. Miller
86d3e4bf09 Quiet a compiler warning and fix sudo_preload_table external definition. 2010-10-11 09:11:46 -04:00
Todd C. Miller
dc327471b7 Fix multiple inclusion guard in dlfcn.h and fix dlerror() prototype. 2010-10-11 09:11:20 -04:00
Todd C. Miller
751f597b2b Make this compile correctly when no dlopen is available. 2010-10-11 09:10:10 -04:00
Todd C. Miller
66ea399856 Having a timestamp file defined is no longer indicative of tty tickets
being enabled.  Check def_tty_tickets directly.
2010-10-07 14:12:17 -04:00
Todd C. Miller
e2f253e51d Fix TCGETWINSZ compat. 2010-10-07 14:11:10 -04:00
Todd C. Miller
1a4990f571 Prefer newer TIOCGWINSZ ioctl to old TIOCGSIZE 2010-10-02 17:11:07 -04:00
Todd C. Miller
6b4fe798d5 Move set_project() from sudoers module into sudo proper. 2010-10-01 13:52:42 -04:00
Todd C. Miller
e59fa31bac Fix typo and regenerate 2010-10-01 12:20:32 -04:00
Todd C. Miller
a627c60deb When iterating over returned LDAP entries, keep looking at remaining
matches even if we have a positive match.  This catches negative
matches that may exist in other entries and more closely match the
sudoers file behavior.
2010-10-01 12:17:01 -04:00
Todd C. Miller
acaceb4242 Add support for multiple package instances on Solaris. 2010-10-01 12:08:02 -04:00
Todd C. Miller
413b7b55d1 Add missing signal_pipe[0] to fdsr for the non-pty case. 2010-10-01 12:03:47 -04:00
Todd C. Miller
d93df4e878 Add --with-project for Solaris 2010-10-01 11:36:14 -04:00
Todd C. Miller
2bae9e2cb1 Need ar and ranlib too 2010-10-01 09:39:11 -04:00
Todd C. Miller
614e2a642c Preserve ODMDIR environment variable by default on AIX. 2010-09-27 14:08:54 -04:00
Todd C. Miller
f538ed4e35 Add dlopen() emulation for systems without it.
For HP-UX 10, emulate using shl_load().
For others, link sudoers plugin statically and use a lookup
table to emulate dlsym().
2010-09-26 17:41:35 -04:00
Todd C. Miller
b0b57fbef9 When including compat headers, use the compat dir as part of the path
so we are sure to get the correct header.
2010-09-24 17:01:17 -04:00
Todd C. Miller
590eed3bd7 Ignore ECONNREFUSED from audit_log_user_command() which will
occur if auditd is not running.
2010-09-21 07:56:16 -04:00
Todd C. Miller
89f161ad8e Sync with git version 2010-09-17 12:14:12 -04:00