Commit Graph

5482 Commits

Author SHA1 Message Date
Todd C. Miller
ebc152ce8f Check for zlib.h in addition to libz. 2010-06-16 16:51:46 -04:00
Todd C. Miller
d018936b4e Move functions and symbols shared between exec.c and exec_pty.c
into sudo_exec.h.
2010-06-16 16:46:56 -04:00
Todd C. Miller
ede8a5fad3 Comment out rules to build .man.in and .cat files unless --with-devel 2010-06-16 16:01:51 -04:00
Todd C. Miller
c1bd1dd604 Comment out rules to build .man.in and .cat files unless --with-devel 2010-06-16 15:59:52 -04:00
Todd C. Miller
46355186bb Quote any non-alphanumeric characters other than '_' or '-' when passing
a command to be run via the shell for the -s and -i options.
2010-06-16 15:27:40 -04:00
Todd C. Miller
6363305b30 Add back .man suffix 2010-06-16 12:19:23 -04:00
Todd C. Miller
2cd108304d Add Linux audit support. 2010-06-16 11:17:02 -04:00
Todd C. Miller
fdd4805438 Remove an XXX 2010-06-15 17:00:42 -04:00
Todd C. Miller
1025a2ec06 Add -f (filter) option to sudoreplay to allow certain streams to
be replayed and others ignored.
2010-06-15 16:11:25 -04:00
Todd C. Miller
4fb8a83e6f Fix -A flag when askpass is specified in sudo.conf or if sudo doesn't need
to read a password.
2010-06-15 15:11:10 -04:00
Todd C. Miller
f64bb67c6c Clean up some XXXs 2010-06-15 15:01:11 -04:00
Todd C. Miller
d92c82ea3f Add support for multiple sudoers_base entries in ldap.conf.
From Joachim Henke
2010-06-15 10:33:30 -04:00
Todd C. Miller
54ffb19ccb remove setsid check, we require a POSIX system 2010-06-15 09:24:56 -04:00
Todd C. Miller
c2f8d24f20 Check for dup2() failure. 2010-06-15 09:02:23 -04:00
Todd C. Miller
59718c32e4 Remove dup2() check, it is not optional. 2010-06-15 08:42:17 -04:00
Todd C. Miller
754c3939d4 sync with sudo 1.7.3 2010-06-14 16:20:41 -04:00
Todd C. Miller
65307f89bc SunOS does not ship with an ANSI compiler 2010-06-14 16:14:19 -04:00
Todd C. Miller
96e4b0e20f Update OS specific notes. Delete some really ancient ones and move
older ones to the end of the list.
2010-06-14 16:11:01 -04:00
Todd C. Miller
8eed6962b6 Sudo can be downloaded from the web site too
Mention "OS dependent notes" section in INSTALL
2010-06-14 15:16:57 -04:00
Todd C. Miller
d27223b4c7 Call selinux_restore_tty() as part of cleanup() so it gets called
from error()/errorx()
2010-06-14 15:09:15 -04:00
Todd C. Miller
e1e0ac22b2 Remove obsolete porting guide 2010-06-14 14:56:45 -04:00
Todd C. Miller
fe49f161a8 Move union sudo_in_addr_un into interfaces.h 2010-06-14 14:52:53 -04:00
Todd C. Miller
7484676705 Remove useless circular dependencies 2010-06-14 12:35:06 -04:00
Todd C. Miller
8e26312539 Convert to ANSI C function declarations 2010-06-14 12:30:21 -04:00
Todd C. Miller
b72a530fd0 Update copyright year 2010-06-14 12:19:49 -04:00
Todd C. Miller
a7a4ec6fbf Fix commented DEVDOCS when not in devel mode. 2010-06-14 12:19:29 -04:00
Todd C. Miller
b09a643ff0 Quiet a compiler warning. 2010-06-14 11:18:50 -04:00
Todd C. Miller
848b636f24 Quiet a compiler warning. 2010-06-14 10:56:01 -04:00
Todd C. Miller
3430618c78 Make all functions in ldap.c static 2010-06-14 10:37:42 -04:00
Todd C. Miller
93d48cfc60 Updates from Alain Roy to provide better examples for importing the
schema and to fix problems caused by Windows validating attributes
which have not yet been added before committing the changes.
2010-06-14 10:20:41 -04:00
Todd C. Miller
ec77318e32 Leave rules to build .man.in and .cat files uncommented but only make
them part of the "all" rule in devel mode.
Generate .cat files directly from .man.in instead of .man using default
values in configure.in
2010-06-11 18:34:24 -04:00
Todd C. Miller
608a3e7a27 Bump sudo version to 1.8.0b1 2010-06-11 10:55:30 -04:00
Todd C. Miller
a28a4764e6 Print configure args with verbose version information. 2010-06-11 10:53:44 -04:00
Todd C. Miller
3516d7f0e3 Remove tfd from struct sudoersfile; it is not used.
Add prev pointer to struct sudoersfile.
Declare list of sudoersfile using TQ_DECLARE.
Use tq_append to append sudoers entries to the tail queue.
2010-06-11 09:53:44 -04:00
Todd C. Miller
6d0b74cf13 Describe tty timestamp improvements 2010-06-10 18:04:08 -04:00
Todd C. Miller
27a94faf73 A comment character may not be part of a command line argument
unless it is quoted with a backslash.  Fixes parsing of:
    testuser ALL=NOPASSWD: /usr/bin/wl #comment foo bar
closes bz #441
2010-06-10 17:52:51 -04:00
Todd C. Miller
f67ac02af5 Make this read a little bit better when passwd_timeout is 0. 2010-06-10 17:38:56 -04:00
Todd C. Miller
10d83e2cb4 Attempt to handle a default password prompt timeout of zero more gracefully. 2010-06-10 17:16:27 -04:00
Todd C. Miller
32d4697a89 Do not override value of keepopen global, instead restore it to the
value we pushed onto the stack when popping.
2010-06-10 16:36:41 -04:00
Todd C. Miller
17a8bd807e Add dependency for utility programs on libreplace and libcommon 2010-06-10 16:10:17 -04:00
Todd C. Miller
047fc3876d Remove sigaction emulation
Use SA_INTERRUPT in sa_flags
2010-06-10 15:18:23 -04:00
Todd C. Miller
e54cfc9bd4 We don't use getgrouplist() at the moment so there's no need to
provide a compat version.
2010-06-10 15:12:37 -04:00
Todd C. Miller
7795284879 sync with reality 2010-06-10 15:12:07 -04:00
Todd C. Miller
e146aaaa29 Fix visiblepw sudoers option; the plugin API portion still needs documenting 2010-06-10 15:02:32 -04:00
Todd C. Miller
879d01796c Print sudo version as well. 2010-06-10 14:25:25 -04:00
Todd C. Miller
1fbb1819e7 Use sudo_printf for I/O log version
Clarify policy plugin version string
2010-06-10 14:24:06 -04:00
Todd C. Miller
c6371aa481 Silence some compiler warnings 2010-06-10 12:27:18 -04:00
Todd C. Miller
b91b65722b Store askpass path in a global instead of uses setenv() which many
systems lack.
2010-06-10 12:03:40 -04:00
Todd C. Miller
eec336115a Move askpass path specification from sudoers to sudo.conf. 2010-06-09 17:40:44 -04:00
Todd C. Miller
34613c8465 Use a flag bit in struct command_details for selinux instead of a separate
field.
2010-06-09 16:25:44 -04:00