[sudo-commits] sudo changeset 7460:b9dfce12af85
Todd C. Miller
Todd.Miller at courtesan.com
Tue Jan 3 10:47:39 EST 2012
changeset: 7460:b9dfce12af85 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/b9dfce12af85
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Tue Jan 03 10:47:33 2012 -0500
Log Message:
When trying to determine the tty, fall back on /proc/ppid/fd/{0,1,2}
if the main process's fds 0-2 are not hooked up to a tty. Adapted
from a diff by Zdenek Behan.
diffstat:
src/sudo.c | 36 ++++++++++++++++++++++++++++++++++--
1 files changed, 34 insertions(+), 2 deletions(-)
More information about the sudo-commits
mailing list