[sudo-commits] sudo changeset 8127:5bdefd004ea1

Todd C. Miller Todd.Miller at courtesan.com
Tue May 29 16:31:51 EDT 2012


changeset:	8127:5bdefd004ea1 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/5bdefd004ea1
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed May 23 15:06:11 2012 -0400

Log Message:
	Linux select() may return ENOMEM if there is a kernel resource
	shortage.  Older Solaris select() may return EIO instead of EBADF
	when the tty goes away.  If we get an unhandled select() failure,
	kill the child and exit cleanly.

diffstat:

 exec.c     |  11 ++++++++---
 exec_pty.c |  11 ++++++-----
 2 files changed, 14 insertions(+), 8 deletions(-)



More information about the sudo-commits mailing list