[sudo-commits] sudo changeset 5300:1a945e0ab2da
Todd C. Miller
Todd.Miller at courtesan.com
Mon May 3 10:13:02 EDT 2010
changeset: 5300:1a945e0ab2da in /home/hg/sudo
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Mon May 03 10:12:54 2010 -0400
Use pipes to the sudo process if stdout or stderr is not a tty.
Still needs some polishing and a decision as to whether it is
desirable to add additonal entry points for logging stdout/stderr/stdin
when they are not ttys. That would allow a replay program to keep
things separate and to know whether the terminal needs to be in raw
mode at replay time.
src/script.c | 314 ++++++++++++++++++++++++++++++++--------------------------
1 files changed, 172 insertions(+), 142 deletions(-)
More information about the sudo-commits