[sudo-commits] sudo changeset 8609:bfa23f089bba

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


changeset:	8609:bfa23f089bba in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/bfa23f089bba
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jan 31 11:10:23 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:

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


More information about the sudo-commits mailing list