[sudo-commits] sudo changeset 8602:b2bd3005d2e4

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 31 11:06:11 EST 2013


changeset:	8602:b2bd3005d2e4 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/b2bd3005d2e4
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