[sudo-commits] sudo changeset 8605:2f3225a2a4a4

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 31 21:30:56 EST 2013


changeset:	8605:2f3225a2a4a4 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/2f3225a2a4a4
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jan 31 11:05:56 2013 -0500

Log Message:
	Remove ttyname() fall back code on systems where we can query the
	kernel for the tty device via /proc or sysctl().  If there is no
	controlling tty, it is better to just treat the tty as unknown
	rather than to blindly use what is hooked up to std{in,out,err}.

diffstat:

 src/ttyname.c |  28 ++--------------------------
 1 files changed, 2 insertions(+), 26 deletions(-)


More information about the sudo-commits mailing list