[sudo-commits] sudo changeset 7651:d7938d938fbd

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 12 16:46:07 EST 2012


changeset:	7651:d7938d938fbd in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/d7938d938fbd
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jan 12 15:17:30 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.
	On BSD, use the KERN_PROC_PID sysctl() instead.

diffstat:

 config.h.in  |    9 ++++
 configure    |   63 +++++++++++++++++++++++++++++-
 configure.in |   23 ++++++++++-
 sudo.c       |  125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 215 insertions(+), 5 deletions(-)



More information about the sudo-commits mailing list