]> granicus.if.org Git - sudo/log
sudo
14 years agoUse warningx() instead of log_error() since the latter is not available
Todd C. Miller [Fri, 25 Jun 2010 13:58:59 +0000 (09:58 -0400)]
Use warningx() instead of log_error() since the latter is not available
to visudo or testsudoers.  This does mean that they don't end up in syslog.

--HG--
branch : 1.7

14 years agoDefer call to sudo_nonunix_groupcheck_cleanup() until after we have
Todd C. Miller [Fri, 25 Jun 2010 13:57:58 +0000 (09:57 -0400)]
Defer call to sudo_nonunix_groupcheck_cleanup() until after we have
closed the sudoers sources.  From Quest sudo.

--HG--
branch : 1.7

14 years agoIgnore case when matching user/group names in the cache. From Quest sudo.
Todd C. Miller [Fri, 25 Jun 2010 13:57:29 +0000 (09:57 -0400)]
Ignore case when matching user/group names in the cache.  From Quest sudo.

--HG--
branch : 1.7

14 years agoAdd check for setkeycreatecon() when --with-selinux is specified.
Todd C. Miller [Thu, 24 Jun 2010 18:34:53 +0000 (14:34 -0400)]
Add check for setkeycreatecon() when --with-selinux is specified.

--HG--
branch : 1.7

14 years agoBump version to 1.7.3b5
Todd C. Miller [Thu, 24 Jun 2010 18:16:45 +0000 (14:16 -0400)]
Bump version to 1.7.3b5
Error out if libaudit.h is missing or ununable when --with-linux-audit
was specified

--HG--
branch : 1.7

14 years agoK&R function declaration for aix_setauthdb()
Todd C. Miller [Thu, 24 Jun 2010 17:22:51 +0000 (13:22 -0400)]
K&R function declaration for aix_setauthdb()

--HG--
branch : 1.7

14 years agoIf env_init() was called implicitly via getenv(), setenv() or putenv()
Todd C. Miller [Thu, 24 Jun 2010 11:42:29 +0000 (07:42 -0400)]
If env_init() was called implicitly via getenv(), setenv() or putenv()
just use the specified envp instead of mallocing a new copy.  This
prevents an infinite loop on OpenBSD which calls getenv() from malloc()
to get MALLOC_OPTIONS.

--HG--
branch : 1.7

14 years agoAdd support for multiple URI lines by joining the contents and passing
Todd C. Miller [Thu, 24 Jun 2010 11:39:34 +0000 (07:39 -0400)]
Add support for multiple URI lines by joining the contents and passing
the result to ldap_initialize.

--HG--
branch : 1.7

14 years agoBracket initgroups with calls to aix_setauthdb() and aix_restoreauthdb()
Todd C. Miller [Wed, 23 Jun 2010 22:56:44 +0000 (18:56 -0400)]
Bracket initgroups with calls to aix_setauthdb() and aix_restoreauthdb()

--HG--
branch : 1.7

14 years agoInclude compat.h before alloc.h to get __P
Todd C. Miller [Wed, 23 Jun 2010 15:40:20 +0000 (11:40 -0400)]
Include compat.h before alloc.h to get __P

--HG--
branch : 1.7

14 years agoInclude usersec.h for authenticate() prototype
Todd C. Miller [Wed, 23 Jun 2010 15:08:54 +0000 (11:08 -0400)]
Include usersec.h for authenticate() prototype

--HG--
branch : 1.7

14 years agoAdd missing includes
Todd C. Miller [Wed, 23 Jun 2010 15:07:42 +0000 (11:07 -0400)]
Add missing includes
Add missing trailing NUL in userinfo string

--HG--
branch : 1.7

14 years agoMention when LDAP was incorporated.
Todd C. Miller [Tue, 22 Jun 2010 17:39:14 +0000 (13:39 -0400)]
Mention when LDAP was incorporated.

--HG--
branch : 1.7

14 years agoDefine _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it
Todd C. Miller [Mon, 21 Jun 2010 20:20:10 +0000 (16:20 -0400)]
Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it
is not covered by _ALL_SOURCE.

--HG--
branch : 1.7

14 years agoInclude usersec.h on AIX to get IDtouser() prototype.
Todd C. Miller [Mon, 21 Jun 2010 20:19:41 +0000 (16:19 -0400)]
Include usersec.h on AIX to get IDtouser() prototype.

--HG--
branch : 1.7

14 years agoDefine _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it
Todd C. Miller [Mon, 21 Jun 2010 20:18:46 +0000 (16:18 -0400)]
Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it
is not covered by _ALL_SOURCE.

--HG--
branch : 1.7

14 years agoAdd a cast to quiet a compiler warning.
Todd C. Miller [Fri, 18 Jun 2010 22:45:22 +0000 (18:45 -0400)]
Add a cast to quiet a compiler warning.

--HG--
branch : 1.7

14 years agoUse memset() instead of zero_bytes() since we don't include sudo.h
Todd C. Miller [Fri, 18 Jun 2010 22:44:05 +0000 (18:44 -0400)]
Use memset() instead of zero_bytes() since we don't include sudo.h

--HG--
branch : 1.7

14 years agogetline.o is already in LIB_OBJS, do not need it in COMMON_OBJS
Todd C. Miller [Fri, 18 Jun 2010 22:41:54 +0000 (18:41 -0400)]
getline.o is already in LIB_OBJS, do not need it in COMMON_OBJS

--HG--
branch : 1.7

14 years agoQuiet a compiler warning.
Todd C. Miller [Fri, 18 Jun 2010 22:38:28 +0000 (18:38 -0400)]
Quiet a compiler warning.

--HG--
branch : 1.7

14 years agoCall set_fqdn() after sudoers has parsed instead of inline as a callback.
Todd C. Miller [Fri, 18 Jun 2010 21:47:17 +0000 (17:47 -0400)]
Call set_fqdn() after sudoers has parsed instead of inline as a callback.

--HG--
branch : 1.7

14 years agoDo not call set_fqdn() until sudoers parses (where is gets run as a callback).
Todd C. Miller [Fri, 18 Jun 2010 21:23:37 +0000 (17:23 -0400)]
Do not call set_fqdn() until sudoers parses (where is gets run as a callback).

--HG--
branch : 1.7

14 years agoDo not call set_fqdn() until sudoers parses (where is gets run as a callback).
Todd C. Miller [Fri, 18 Jun 2010 21:21:10 +0000 (17:21 -0400)]
Do not call set_fqdn() until sudoers parses (where is gets run as a callback).
Otherwise, if sudo is built --with-fqdn the fqdn will be set even if
!fqdn is set in sudoers.

--HG--
branch : 1.7

14 years agoBump version to 1.7.3b4
Todd C. Miller [Fri, 18 Jun 2010 19:51:26 +0000 (15:51 -0400)]
Bump version to 1.7.3b4

--HG--
branch : 1.7

14 years agomention the change in tty ticket behavior when there is no tty
Todd C. Miller [Fri, 18 Jun 2010 19:43:00 +0000 (15:43 -0400)]
mention the change in tty ticket behavior when there is no tty

--HG--
branch : 1.7

14 years agoremove done items
Todd C. Miller [Fri, 18 Jun 2010 19:37:27 +0000 (15:37 -0400)]
remove done items

--HG--
branch : 1.7

14 years agoRemove comment; NAME in usrinfo should be user name.
Todd C. Miller [Fri, 18 Jun 2010 19:37:00 +0000 (15:37 -0400)]
Remove comment; NAME in usrinfo should be user name.

--HG--
branch : 1.7

14 years agoDo not update tty ticket if there is no tty.
Todd C. Miller [Fri, 18 Jun 2010 14:08:01 +0000 (08:08 -0600)]
Do not update tty ticket if there is no tty.

--HG--
branch : 1.7

14 years agoNo longer need to use -- with the -s flag
Todd C. Miller [Fri, 18 Jun 2010 14:05:44 +0000 (10:05 -0400)]
No longer need to use -- with the -s flag

--HG--
branch : 1.7

14 years agoAdd missing $(srcdir) to sudo.man.in target
Todd C. Miller [Fri, 18 Jun 2010 14:04:52 +0000 (10:04 -0400)]
Add missing $(srcdir) to sudo.man.in target

--HG--
branch : 1.7

14 years agoDo not rely on BSD make's $>
Todd C. Miller [Fri, 18 Jun 2010 13:53:46 +0000 (09:53 -0400)]
Do not rely on BSD make's $>

--HG--
branch : 1.7

14 years agoSet timedir to /var/db/sudo for darwin to match Apple sudo's location
Todd C. Miller [Fri, 18 Jun 2010 13:52:08 +0000 (09:52 -0400)]
Set timedir to /var/db/sudo for darwin to match Apple sudo's location

--HG--
branch : 1.7

14 years agoMove aix.o from SUDO_OBJS to COMMON_OBJS
Todd C. Miller [Wed, 16 Jun 2010 23:59:37 +0000 (19:59 -0400)]
Move aix.o from SUDO_OBJS to COMMON_OBJS

--HG--
branch : 1.7

14 years agoCheck for zlib.h in addition to libz.
Todd C. Miller [Wed, 16 Jun 2010 20:40:02 +0000 (16:40 -0400)]
Check for zlib.h in addition to libz.

--HG--
branch : 1.7

14 years agoMove functions and symbols shared between exec.c and exec_pty.c
Todd C. Miller [Wed, 16 Jun 2010 20:38:16 +0000 (16:38 -0400)]
Move functions and symbols shared between exec.c and exec_pty.c
into sudo_exec.h.

--HG--
branch : 1.7

14 years agoAdd missing prototypes for aix_setauthdb and aix_restoreauthdb
Todd C. Miller [Wed, 16 Jun 2010 20:21:20 +0000 (16:21 -0400)]
Add missing prototypes for aix_setauthdb and aix_restoreauthdb

--HG--
branch : 1.7

14 years agoComment out rules to build .man.in and .cat files unless --with-devel
Todd C. Miller [Wed, 16 Jun 2010 20:06:05 +0000 (16:06 -0400)]
Comment out rules to build .man.in and .cat files unless --with-devel

--HG--
branch : 1.7

14 years agoFix AIX compilation problems.
Todd C. Miller [Wed, 16 Jun 2010 19:35:28 +0000 (15:35 -0400)]
Fix AIX compilation problems.

--HG--
branch : 1.7

14 years agoCast isalnum() arg to unsigned char.
Todd C. Miller [Wed, 16 Jun 2010 19:28:45 +0000 (15:28 -0400)]
Cast isalnum() arg to unsigned char.

--HG--
branch : 1.7

14 years agoAdd Linux audit support.
Todd C. Miller [Wed, 16 Jun 2010 19:28:21 +0000 (15:28 -0400)]
Add Linux audit support.

--HG--
branch : 1.7

14 years agoQuote any non-alphanumeric characters other than '_' or '-' when passing
Todd C. Miller [Wed, 16 Jun 2010 18:35:42 +0000 (14:35 -0400)]
Quote any non-alphanumeric characters other than '_' or '-' when passing
a command to be run via the shell for the -s and -i options.

--HG--
branch : 1.7

14 years agoAdd missing braces that broke -i mode.
Todd C. Miller [Wed, 16 Jun 2010 18:09:07 +0000 (14:09 -0400)]
Add missing braces that broke -i mode.

--HG--
branch : 1.7

14 years agoFix linux_audit_command() return value
Todd C. Miller [Wed, 16 Jun 2010 14:44:37 +0000 (10:44 -0400)]
Fix linux_audit_command() return value

--HG--
branch : 1.7

14 years agoAdd Linux audit support.
Todd C. Miller [Tue, 15 Jun 2010 10:50:37 +0000 (06:50 -0400)]
Add Linux audit support.

--HG--
branch : 1.7

14 years agoAdd Linux audit support.
Todd C. Miller [Wed, 16 Jun 2010 14:04:24 +0000 (10:04 -0400)]
Add Linux audit support.

--HG--
branch : 1.7

14 years agoSync sudoreplay with trunk
Todd C. Miller [Tue, 15 Jun 2010 20:28:28 +0000 (16:28 -0400)]
Sync sudoreplay with trunk

--HG--
branch : 1.7

14 years agoRemove an XXX
Todd C. Miller [Tue, 15 Jun 2010 20:27:33 +0000 (16:27 -0400)]
Remove an XXX

--HG--
branch : 1.7

14 years agoSet usrinfo for AIX
Todd C. Miller [Tue, 15 Jun 2010 16:55:28 +0000 (12:55 -0400)]
Set usrinfo for AIX
Set adminstrative domain for the process when looking up user's
password info and when preparing for execve().

--HG--
branch : 1.7

14 years agoBetter prefix determination now that we can't rely on len==0 to
Todd C. Miller [Tue, 15 Jun 2010 14:32:05 +0000 (10:32 -0400)]
Better prefix determination now that we can't rely on len==0 to
tell the beginning on an entry.

--HG--
branch : 1.7

14 years agoAdd support for multiple sudoers_base entries in ldap.conf.
Todd C. Miller [Tue, 15 Jun 2010 14:05:08 +0000 (10:05 -0400)]
Add support for multiple sudoers_base entries in ldap.conf.
From Joachim Henke

--HG--
branch : 1.7

14 years agoRemove duplicate setsid check
Todd C. Miller [Tue, 15 Jun 2010 13:24:10 +0000 (09:24 -0400)]
Remove duplicate setsid check

--HG--
branch : 1.7

14 years agoMove setsid emulation into setsid.c
Todd C. Miller [Tue, 15 Jun 2010 13:22:44 +0000 (09:22 -0400)]
Move setsid emulation into setsid.c

--HG--
branch : 1.7

14 years agoCheck for dup2() failure.
Todd C. Miller [Tue, 15 Jun 2010 13:05:19 +0000 (09:05 -0400)]
Check for dup2() failure.

--HG--
branch : 1.7

14 years agoRemove dup2 check, it is not optional.
Todd C. Miller [Tue, 15 Jun 2010 12:43:24 +0000 (08:43 -0400)]
Remove dup2 check, it is not optional.

--HG--
branch : 1.7

14 years agoAdd mbr_check_membership support and SELinux fixes
Todd C. Miller [Mon, 14 Jun 2010 22:30:12 +0000 (18:30 -0400)]
Add mbr_check_membership support and SELinux fixes

--HG--
branch : 1.7

14 years agoSync SRCS and DISTFILES with reality
Todd C. Miller [Mon, 14 Jun 2010 20:27:21 +0000 (16:27 -0400)]
Sync SRCS and DISTFILES with reality

--HG--
branch : 1.7

14 years agoUpdate OS specific notes. Delete some really ancient ones and move
Todd C. Miller [Mon, 14 Jun 2010 20:15:39 +0000 (16:15 -0400)]
Update OS specific notes.  Delete some really ancient ones and move
older ones to the end of the list.

--HG--
branch : 1.7

14 years agoBump for sudo 1.7.3
Todd C. Miller [Mon, 14 Jun 2010 19:17:15 +0000 (15:17 -0400)]
Bump for sudo 1.7.3
Merge some changes from trunk

--HG--
branch : 1.7

14 years agoCall selinux_restore_tty() as part of cleanup() so it gets called
Todd C. Miller [Mon, 14 Jun 2010 19:06:39 +0000 (15:06 -0400)]
Call selinux_restore_tty() as part of cleanup() so it gets called
from error()/errorx()

--HG--
branch : 1.7

14 years agoNo longer use SA_NOCLDSTOP
Todd C. Miller [Mon, 14 Jun 2010 18:59:26 +0000 (14:59 -0400)]
No longer use SA_NOCLDSTOP

--HG--
branch : 1.7

14 years agoMove union sudo_in_addr_un into interfaces.h
Todd C. Miller [Mon, 14 Jun 2010 18:53:34 +0000 (14:53 -0400)]
Move union sudo_in_addr_un into interfaces.h

--HG--
branch : 1.7

14 years agoUpdate copyright year
Todd C. Miller [Mon, 14 Jun 2010 15:53:18 +0000 (11:53 -0400)]
Update copyright year

--HG--
branch : 1.7

14 years agoUpdate copyright year
Todd C. Miller [Mon, 14 Jun 2010 15:50:06 +0000 (11:50 -0400)]
Update copyright year

--HG--
branch : 1.7

14 years agoRemove varsub as part of clean
Todd C. Miller [Mon, 14 Jun 2010 15:31:44 +0000 (11:31 -0400)]
Remove varsub as part of clean

--HG--
branch : 1.7

14 years agoQuiet a compiler warning.
Todd C. Miller [Mon, 14 Jun 2010 15:18:23 +0000 (11:18 -0400)]
Quiet a compiler warning.

--HG--
branch : 1.7

14 years agoQuiet a compiler warning.
Todd C. Miller [Mon, 14 Jun 2010 14:57:23 +0000 (10:57 -0400)]
Quiet a compiler warning.

--HG--
branch : 1.7

14 years agoMake the remaining functions in ldap.c static
Todd C. Miller [Mon, 14 Jun 2010 14:37:25 +0000 (10:37 -0400)]
Make the remaining functions in ldap.c static

--HG--
branch : 1.7

14 years agoMake private functions static. Diff from Joachim Henke
Todd C. Miller [Mon, 14 Jun 2010 14:23:33 +0000 (10:23 -0400)]
Make private functions static.  Diff from Joachim Henke

--HG--
branch : 1.7

14 years agoUpdates from Alain Roy to provide better examples for importing the
Todd C. Miller [Mon, 14 Jun 2010 14:20:15 +0000 (10:20 -0400)]
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.

--HG--
branch : 1.7

14 years agoGenerate .cat files directly from .man.in instead of .man using default
Todd C. Miller [Sat, 12 Jun 2010 13:32:03 +0000 (09:32 -0400)]
Generate .cat files directly from .man.in instead of .man using default
values in configure.in

--HG--
branch : 1.7

14 years agoPrint configure args with verbose version information.
Todd C. Miller [Fri, 11 Jun 2010 14:33:13 +0000 (10:33 -0400)]
Print configure args with verbose version information.

--HG--
branch : 1.7

14 years agoRemove tfd from struct sudoersfile; it is not used.
Todd C. Miller [Fri, 11 Jun 2010 13:54:48 +0000 (09:54 -0400)]
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.

--HG--
branch : 1.7

14 years agoDescribe tty timestamp improvements
Todd C. Miller [Thu, 10 Jun 2010 22:03:16 +0000 (18:03 -0400)]
Describe tty timestamp improvements

--HG--
branch : 1.7

14 years agoA comment character may not be part of a command line argument
Todd C. Miller [Thu, 10 Jun 2010 21:53:27 +0000 (17:53 -0400)]
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

--HG--
branch : 1.7

14 years agoregen
Todd C. Miller [Thu, 10 Jun 2010 21:41:55 +0000 (17:41 -0400)]
regen

--HG--
branch : 1.7

14 years agoMake this read a little bit better when passwd_timeout is 0.
Todd C. Miller [Thu, 10 Jun 2010 21:39:06 +0000 (17:39 -0400)]
Make this read a little bit better when passwd_timeout is 0.

--HG--
branch : 1.7

14 years agoUse the --file argument to config.status instead of setting CONFIG_FILES
Todd C. Miller [Thu, 10 Jun 2010 21:29:47 +0000 (17:29 -0400)]
Use the --file argument to config.status instead of setting CONFIG_FILES

--HG--
branch : 1.7

14 years agoAttempt to handle a default password prompt timeout of zero more gracefully.
Todd C. Miller [Thu, 10 Jun 2010 21:19:45 +0000 (17:19 -0400)]
Attempt to handle a default password prompt timeout of zero more gracefully.

--HG--
branch : 1.7

14 years agoDo not override value of keepopen global, instead restore it to the
Todd C. Miller [Thu, 10 Jun 2010 20:37:52 +0000 (16:37 -0400)]
Do not override value of keepopen global, instead restore it to the
value we pushed onto the stack when popping.

--HG--
branch : 1.7

14 years agoUse SA_INTERRUPT in sa_flags
Todd C. Miller [Thu, 10 Jun 2010 19:19:38 +0000 (15:19 -0400)]
Use SA_INTERRUPT in sa_flags

--HG--
branch : 1.7

14 years agoSilence some compiler warnings
Todd C. Miller [Thu, 10 Jun 2010 16:28:05 +0000 (12:28 -0400)]
Silence some compiler warnings

--HG--
branch : 1.7

14 years agoImplement background mode. If I/O logging we use pipes instead of a pty.
Todd C. Miller [Wed, 9 Jun 2010 20:20:04 +0000 (16:20 -0400)]
Implement background mode.  If I/O logging we use pipes instead of a pty.

--HG--
branch : 1.7

14 years agoMove compat definition of NSIG to compat.h
Todd C. Miller [Wed, 9 Jun 2010 18:01:06 +0000 (14:01 -0400)]
Move compat definition of NSIG to compat.h

--HG--
branch : 1.7

14 years agoIgnore SIGPIPE for "sudo -S"
Todd C. Miller [Wed, 9 Jun 2010 15:00:12 +0000 (11:00 -0400)]
Ignore SIGPIPE for "sudo -S"

--HG--
branch : 1.7

14 years agoProperly handle TGP_ECHO again.
Todd C. Miller [Wed, 9 Jun 2010 14:52:53 +0000 (10:52 -0400)]
Properly handle TGP_ECHO again.
Print a newline if the user interrupted password input.

--HG--
branch : 1.7

14 years agoUse POSIX tcgetpgrp() instead of BSD TIOCGPGRP ioctl
Todd C. Miller [Wed, 9 Jun 2010 13:57:41 +0000 (09:57 -0400)]
Use POSIX tcgetpgrp() instead of BSD TIOCGPGRP ioctl

--HG--
branch : 1.7

14 years agoReturn an error from selinux_setup() instead of exiting.
Todd C. Miller [Tue, 8 Jun 2010 22:12:59 +0000 (18:12 -0400)]
Return an error from selinux_setup() instead of exiting.
Call selinux_setup() from exec_setup().

--HG--
branch : 1.7

14 years agoAdd definition of WCOREDUMP for systems without it. This is known
Todd C. Miller [Tue, 8 Jun 2010 22:51:20 +0000 (18:51 -0400)]
Add definition of WCOREDUMP for systems without it.  This is known
to work on AIX and SunOS 4, but may be incorrect on other systems
that lack WCOREDUMP.

--HG--
branch : 1.7

14 years agoReplace timerfoo macros with timevalfoo since the timer macros are known
Todd C. Miller [Tue, 8 Jun 2010 22:50:10 +0000 (18:50 -0400)]
Replace timerfoo macros with timevalfoo since the timer macros are known
to be busted on some systems.

--HG--
branch : 1.7

14 years agoIf a file in a #includedir has improper permissions or owner just
Todd C. Miller [Tue, 8 Jun 2010 20:52:21 +0000 (16:52 -0400)]
If a file in a #includedir has improper permissions or owner just
skip it.  This prevents packages that incorrectly install a file
into /etc/sudoers.d from breaking sudo so easily.  Syntax errors
in #includedir files still result in a parse error (for now).

--HG--
branch : 1.7

14 years agoDefer call to pam_close_session() until after the command finishes
Todd C. Miller [Tue, 8 Jun 2010 19:56:49 +0000 (15:56 -0400)]
Defer call to pam_close_session() until after the command finishes
if there is a monitor process.

--HG--
branch : 1.7

14 years agoAdd use_pty sudoers option to force use of a pty even when not
Todd C. Miller [Tue, 8 Jun 2010 15:20:11 +0000 (11:20 -0400)]
Add use_pty sudoers option to force use of a pty even when not
logging I/O.

--HG--
branch : 1.7

14 years agoInstead of trying to keep the global environment in sync with our
Todd C. Miller [Tue, 8 Jun 2010 14:26:15 +0000 (10:26 -0400)]
Instead of trying to keep the global environment in sync with our
private copy, provide our own getenv() that returns values from the
private environment and use env_get() to pass the environment in
to run_command().

--HG--
branch : 1.7

14 years agoFix typo
Todd C. Miller [Tue, 8 Jun 2010 14:11:18 +0000 (10:11 -0400)]
Fix typo

--HG--
branch : 1.7

14 years agoRename pty.c -> get_pty.c
Todd C. Miller [Mon, 7 Jun 2010 22:54:45 +0000 (18:54 -0400)]
Rename pty.c -> get_pty.c

--HG--
branch : 1.7

14 years agoAdd #define for maximum session id
Todd C. Miller [Mon, 7 Jun 2010 22:53:28 +0000 (18:53 -0400)]
Add #define for maximum session id

--HG--
branch : 1.7

14 years agoSplit exec.c into exec.c and exec_pty.c
Todd C. Miller [Mon, 7 Jun 2010 21:28:05 +0000 (17:28 -0400)]
Split exec.c into exec.c and exec_pty.c
Pass a flag in to sudo_execve to indicate whether we need to
    wait for the command to finish (fork + execve vs. execve).

--HG--
branch : 1.7

14 years agoRename pty.c -> get_pty.c
Todd C. Miller [Mon, 7 Jun 2010 15:25:03 +0000 (11:25 -0400)]
Rename pty.c -> get_pty.c

--HG--
branch : 1.7

14 years agoFix --without-iologdir
Todd C. Miller [Mon, 7 Jun 2010 15:21:23 +0000 (11:21 -0400)]
Fix --without-iologdir

--HG--
branch : 1.7

14 years agoOnly use I/O input log file if def_log_input is set and output file
Todd C. Miller [Sun, 6 Jun 2010 15:44:55 +0000 (11:44 -0400)]
Only use I/O input log file if def_log_input is set and output file
if def_log_output is set.

--HG--
branch : 1.7