Commit Graph

328 Commits

Author SHA1 Message Date
Todd C. Miller
90ec112540 Build libmissing in two flavors (one PIC one non-PIC) and link with the
appropriate one.
2010-03-14 18:05:00 -04:00
Todd C. Miller
6b4d97ebc3 Add strdup and strndup to compat 2010-03-12 17:11:11 -05:00
Todd C. Miller
1dcebf901a Remove redundant getgroups check 2010-03-12 12:39:04 -05:00
Todd C. Miller
0795ef846c Require either termios or termio, no more sgtty. 2010-03-12 11:45:57 -05:00
Todd C. Miller
cb8696d67e Change the sys_siglist check to use AC_CHECK_DECLS and also check
for _sys_siglist and__sys_siglist
2010-03-12 05:26:01 -05:00
Todd C. Miller
5775026a51 Change SUDO_LDFLAGS to SUDOERS_LDFLAGS and add SUDOERS_OBJS.
We now use SUDO_OBJS for the main driver as part of OBJS.
2010-03-11 17:21:34 -05:00
Todd C. Miller
c7b382a905 AUTH_OBJS should contain .lo files not .o files. 2010-03-06 07:36:02 -05:00
Todd C. Miller
cf07bde706 No longer need to substitute in script.o and pty.o; I/O logging support
is always built.
2010-03-04 08:12:36 -05:00
Todd C. Miller
ca3ee9de17 Sudo now requires an ANSI/ISO C compiler 2010-02-27 10:04:39 -05:00
Todd C. Miller
fadb324f1a Fix up compat dependencies.
Fix distclean target in doc/Makefile.in
2010-02-21 16:12:01 -05:00
Todd C. Miller
51131cdb89 Fix typo 2010-02-21 15:32:59 -05:00
Todd C. Miller
279cf1e958 Add doc Makefile.in and wire it up 2010-02-21 13:37:52 -05:00
Todd C. Miller
3327db2171 Fix setting of plugin dir 2010-02-20 13:20:57 -05:00
Todd C. Miller
b6a4cf7233 Modular sudo front-end which loads policy and I/O plugins that do
most the actual work.  Currently relies on dynamic loading using
dlopen().  See doc/plugin.pod for the plugin API.
2010-02-20 09:41:49 -05:00
Todd C. Miller
fd37f5c59f Use setrlimit64(), if available, instead of setrlimit() when setting
AIX resource limits since rlim_t is 32bits.

--HG--
branch : 1.7
2010-02-06 15:16:04 -05:00
Todd C. Miller
6810071e87 bump to 1.7.3b2 2009-12-13 22:26:32 +00:00
Todd C. Miller
b8239bb34c Add support for mbr_check_membership() as present in darwin. 2009-12-12 15:37:52 +00:00
Todd C. Miller
600ce3dfa6 Treat timestamp files from before we booted as old. Idea from and
Apple patch.
2009-12-10 16:59:27 +00:00
Todd C. Miller
871b3fb125 Fix a few typos in the descriptions; from Jeff Makey
Only do the check for krb5_get_init_creds_opt_free() taking two
arguments if we find krb5_get_init_creds_opt_alloc().  Otherwise
we will get a false positive when using our own
krb5_get_init_creds_opt_free which takes only a single argument.
2009-11-04 14:42:04 +00:00
Todd C. Miller
d0fdeb12a2 Remove a spurious comma in the kerb5 bits. 2009-11-03 14:58:47 +00:00
Todd C. Miller
602a62c01e First pass at zlib support for transcript data files 2009-10-22 23:50:16 +00:00
Todd C. Miller
e5087b7269 Add support for IRIX-style dynamic ptys 2009-10-17 12:54:07 +00:00
Todd C. Miller
52b2762f70 Disable transcript support if no tcsetpgrp until we support older BSD-style
job control.
2009-10-16 13:52:47 +00:00
Todd C. Miller
9544845ef8 Break out pty code into pty.c 2009-10-16 13:29:38 +00:00
Todd C. Miller
e443ee9ff4 add killpg macro if no killpg function 2009-10-16 12:11:10 +00:00
Todd C. Miller
babf9292df Push ptem and ldterm for STERAMS-based systems when allocating a pty. 2009-10-16 00:07:11 +00:00
Todd C. Miller
233377a8b7 Add check for strsignal() and a simple implementation if it is not there but sys_siglist is 2009-10-14 20:04:04 +00:00
Todd C. Miller
c6a8c71d2b Fix default case of transcript_enabled being unset. 2009-09-26 20:25:58 +00:00
Todd C. Miller
8a6dcebd8a Hook up --disable-transcript and --enable-transcript=DIR 2009-09-26 15:34:46 +00:00
Todd C. Miller
0e823cdad2 _PATH_SUDO_SESSDIR -> _PATH_SUDO_TRANSCRIPT
Add --enable-transcript=DIR option to specify the directory
2009-09-25 20:39:09 +00:00
Todd C. Miller
104a402b6a Substitute in default value for secure_path 2009-09-25 01:11:49 +00:00
Todd C. Miller
6794ef5323 Move nanosleep() emulation into its own file
Check librt.a for nanosleep if we don't find it in libc
2009-09-19 17:44:34 +00:00
Todd C. Miller
2752268c9b Build libsudo with the common bits and link things against that. 2009-09-19 17:21:14 +00:00
Todd C. Miller
54e38658df add missing line continuation char 2009-09-18 13:04:14 +00:00
Todd C. Miller
f17c6df8e2 Implement getline() in terms of fgetln() if we have it. 2009-09-18 12:23:01 +00:00
Todd C. Miller
40114c9ba1 Use getline() if the system has it, else use provide our own for sudoreplay. 2009-09-18 01:16:56 +00:00
Todd C. Miller
2935e2a5ba Check for dup2 and use dup instead if we don't have it. 2009-09-03 11:28:07 +00:00
Todd C. Miller
5181d496c4 Add sudoreplay docs 2009-08-30 14:56:18 +00:00
Todd C. Miller
c3c6c299e3 Add UNIX98 pty support. 2009-08-08 00:26:13 +00:00
Todd C. Miller
ee20527bf0 On Linux, the openpty proto libes in pty.h 2009-08-07 13:23:07 +00:00
Todd C. Miller
b3458ec09c Add checks for revoke and vhangup if we don't have openpty 2009-08-06 15:53:21 +00:00
Todd C. Miller
3bfce30a85 First cut at session logging for sudo. Still need to write get_pty()
for Unix 98 and old-style BSD ptys.  Also needs documentation and
general cleanup.
2009-08-06 00:04:14 +00:00
Todd C. Miller
633357448a Use AS_HELP_STRING for AC_ARG_WITH and AC_ARG_ENABLE 2009-06-13 20:52:50 +00:00
Todd C. Miller
7b7ae44ea3 Update non-Unix group support from Quest, as reworked by me. 2009-05-27 00:49:07 +00:00
Todd C. Miller
f54b69b0cc Replace version.h with PACKAGE_VERSION set via AC_INIT in configure. 2009-05-19 21:24:05 +00:00
Todd C. Miller
8eae33753e Fix a warning when --without-ldap is specified. 2009-04-10 20:59:42 +00:00
Todd C. Miller
28ce9e96e1 Only check for ldap_sasl_interactive_bind_s if we can find sasl.h.
Fixes compilation with ldapux.
2009-03-14 01:04:58 +00:00
Todd C. Miller
838cb61086 Add support for AIX netsvc.conf (like nsswitch.conf). 2009-03-10 20:44:05 +00:00
Todd C. Miller
91f04dc3b4 Add --enable-env-debug flag to enable environment sanity checks. 2009-03-08 20:57:01 +00:00
Todd C. Miller
e43e319ae3 Fix SUDO_FUNC_PUTENV_CONST 2009-03-02 13:00:37 +00:00