Todd C. Miller
acf8af9aac
#unifdef HAVE_SETLOCALE, it is C89 so no need to check for it.
2012-11-12 08:51:58 -05:00
Todd C. Miller
83dde2fbb6
Add os-specific initialization functions for solaris (workaround
...
setuid locale problem in Solaris 11) and openbsd (set malloc_options
if SUDO_DEVEL). Also move set_project() to solaris.c.
2012-11-11 07:11:22 -05:00
Todd C. Miller
9d2dc4c30a
Solaris gettext() looks in lang.UTF-8, not just lang for UTF-8 locales.
...
Make links from localdir/lang -> localdir/lang.UTF-8
2012-11-08 14:45:22 -05:00
Todd C. Miller
0586a5e28a
Allow the user to specify and alternate libtool
2012-10-28 12:58:48 -04:00
Todd C. Miller
8aca292b23
sudo 1.8.7
2012-10-24 16:29:13 -04:00
Todd C. Miller
a7ce1909fe
sudo 1.8.6p3
2012-09-18 09:41:58 -04:00
Todd C. Miller
0c94a95ef3
Sudo 1.8.6p2
2012-09-16 21:04:33 -04:00
Todd C. Miller
824092b883
sudo 1.8.6p1
2012-09-12 14:37:27 -04:00
Todd C. Miller
ab7dda035a
Replace strsigname() with sig2str(), emulating it as needed.
2012-08-29 14:25:09 -04:00
Todd C. Miller
71e2d8290b
Use fseeko() for legacy utmp handling if available.
2012-08-29 10:32:49 -04:00
Todd C. Miller
f44afdc423
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.
2012-08-28 10:11:38 -04:00
Todd C. Miller
537dc94b9e
Use strsigname() to print signal names in the debug output.
...
If the system has no strsigname(), use our own.
2012-08-26 20:12:51 -04:00
Todd C. Miller
1e43242b33
Always use mandoc to format cat pages and remove now-extraneous
...
nroff configure tests.
2012-08-15 10:32:25 -04:00
Todd C. Miller
d89b1a6be2
Support for using SSSD ( http://fedorahosted.org/sssd/ ) as a sudoers
...
data source. From Daniel Kopecek and Pavel Brezina.
2012-08-10 11:59:26 -04:00
Todd C. Miller
4abd2a6cf4
Merge in Solaris privilege support by Darren Moffat and John Zolnowsky
2012-07-26 13:49:21 -04:00
Todd C. Miller
90f2cfa589
Build .man.in and .cat files from .mdoc.in files.
...
Add new --with-man and --with-mdoc configure options.
2012-07-19 13:41:14 -04:00
Todd C. Miller
958e39fc6a
Define NO_VIZ for zlib when gcc doesn't support symbol visibility
...
attributes.
2012-07-02 13:34:35 -04:00
Todd C. Miller
f38349a026
Use the autoconf cache when checking for symbol export control support.
2012-07-02 11:20:05 -04:00
Todd C. Miller
f8f0021710
Add configure check for building PIE executables instead of doing
...
it in mkpkg.
2012-07-02 10:12:41 -04:00
Todd C. Miller
effd6cd911
Add -Wc,-fstack-protector to LT_LDFLAGS instead of adding
...
-fstack-protector to LDFLAGS so it doesn't get stripped out. Libtool
will strip -fstack-protector from the linker flags and we always
link with libtool.
2012-07-01 13:47:25 -04:00
Todd C. Miller
3c57d6a06d
Add support for ldaps using Tivoli LDAP libraries.
...
Add ldap.conf option to specify Tivoli key db password.
Allow TLS ciphers to be configured for Tivoli.
2012-06-29 12:14:45 -04:00
Todd C. Miller
9497df293a
Don't run regress tests or sudoers sanity check (using the newly-built
...
visudo) when cross compiling. Bug #560
2012-06-20 13:38:17 -04:00
Todd C. Miller
bcfeddc998
Rename foo.sym -> foo.exp
...
Remove foo.map from the repo and generate it on demand
Use a loader option file for HP-UX ld to explicitly export symbols
2012-06-20 12:58:16 -04:00
Todd C. Miller
b567282f86
Adjust ld map file support to use an anonymous scope to match the
...
updated .map files.
2012-06-19 13:23:37 -04:00
Todd C. Miller
c74d406313
Older versions of Solaris lack ngettext()
2012-06-18 14:29:06 -04:00
Todd C. Miller
af8a211e4b
Move the check for -static-libgcc until after AC_LANG_WERROR
...
has been called and use AX_CHECK_COMPILE_FLAG().
2012-06-18 14:10:50 -04:00
Todd C. Miller
fdcc8e1fce
Link check_symbols with SUDO_LIBS to make sure we link with the
...
requisite libraries to successfully dlopen sudoers.so. This is
needed on HP-UX where a program dlopen()ing a shared object that
uses pthreads must also be linked with pthreads (and HP-UX LDAP
uses pthreads).
2012-06-18 10:21:05 -04:00
Todd C. Miller
7e67a9153a
Additional ${foo} -> $(foo) Makefile tweaks.
2012-06-18 09:50:42 -04:00
Todd C. Miller
0888101bb3
sudo 1.8.6
2012-06-15 14:34:15 -04:00
Todd C. Miller
60a3019483
Add support for controlling symbol visibility using the HP and
...
Solaris C compilers.
2012-06-15 14:18:23 -04:00
Todd C. Miller
47abbb90a2
Don't use a map file for sudo_noexec.so since Solaris ld doesn't
...
allow '*' in the global section. The libtool export flag is now
added to LT_LDFLAGS instead of commenting/uncommenting lines.
2012-06-14 11:35:02 -04:00
Todd C. Miller
1fe3f9f40f
The visibility attribute was actually added in gcc 3.3.x, not 4.0.
...
Just assume that if -fvisibility=hidden works that the attribute
is usable.
2012-06-13 16:57:49 -04:00
Todd C. Miller
6f6b0dec6c
Use gcc's visibility attribute to specify when symbols are visible
...
or hidden, if available. If not available, use an ELF version
script if it is supported. If all else fails, fall back to using
libtool's -export-symbols.
2012-06-13 14:01:16 -04:00
Todd C. Miller
a8e0687ca9
Install shared objects with mode 0644 except on HP-UX which needs
...
the executable bit set.
2012-06-11 10:45:34 -04:00
Todd C. Miller
8d4c6bbbd0
Replace out of date MAN_POSTINSTALL with MANCOMPRESS and MANCOMPRESSEXT
...
which can be used to compress the installed manual pages.
Compress the man pages for .deb files to appease lintian.
2012-05-31 14:03:41 -04:00
Todd C. Miller
7720a7fc89
When checking for -fstack-protector, treat warnings as fatal errors.
2012-05-24 11:03:10 -04:00
Todd C. Miller
e54a007263
Fix test for -z relro
2012-05-22 15:45:50 -04:00
Todd C. Miller
e417fb3da1
Build with -fstack-protector and link with -zrelo where supported.
...
Added --disable-hardening option to disable hardening options.
2012-05-22 13:23:19 -04:00
Todd C. Miller
d29aede203
No longer throw an error if sudoers is a symbolic link. Deprecated
...
the --with-stow option as that is now (effectively) the default.
2012-05-21 13:30:59 -04:00
Todd C. Miller
fe5bf03061
Update for 1.8.5p1
2012-05-17 15:53:37 -04:00
Todd C. Miller
994d2ff69a
Add group plugin that does lookups by name using the system group
...
database.
2012-05-08 13:35:52 -04:00
Todd C. Miller
cf3fce6651
Use AC_HEADER_MAJOR to determine where major/minor are defined.
2012-04-16 10:25:49 -04:00
Todd C. Miller
dbcd7222a1
Include sys/mkdev.h if present instead of sys/sysmacros.h for
...
minor(). This is needed on Solaris (at least) where the makedev
macros in sysmacros.h are obsolete and library functions should be
used instead.
2012-04-16 10:18:32 -04:00
Todd C. Miller
05eec0c627
Remove b8 from version number.
2012-04-13 16:16:40 -04:00
Todd C. Miller
b0993d8777
If struct dirent has d_type, use it to avoid an extra stat().
2012-04-13 08:36:58 -04:00
Todd C. Miller
83fc02bc97
Rototill code to determine the tty. For Linux, we now look up the
...
tty device in /proc/pid/stat instead of trying to open /proc/pid/fd/[0-2].
The sudo_ttyname_dev() function maps the given device number to a
string. On BSD, we can use devname(). On Solaris, _ttyname_dev()
does what we want.
TODO: write /dev/ traversal code for the generic sudo_ttyname_dev().
2012-04-11 14:48:08 -04:00
Todd C. Miller
11f13be0dd
Check for SVR4-style struct psinfo.pr_ttydev and use that to determine
...
the tty if std{in,out,err} are not ttys.
2012-04-10 15:53:41 -04:00
Todd C. Miller
0d108287b9
Do not use GLOB_BRACE or GLOB_TILDE flags to glob()--we want the
...
glob() and fnmatch() results to be consistent.
2012-04-08 18:00:31 -04:00
Todd C. Miller
9ceea5cb7b
Add execvpe(), exect(), posix_spawn() and posix_spawnp() wrappers
...
to sudo_noexec.c.
2012-03-30 09:36:30 -04:00
Todd C. Miller
2a6842e4bb
Add ignore_result definition to AH_BOTTOM
2012-03-29 13:13:38 -04:00