[sudo-commits] sudo changeset 7983:d93940a311ab

Todd C. Miller Todd.Miller at courtesan.com
Tue Apr 10 10:21:50 EDT 2012

changeset:	7983:d93940a311ab in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/d93940a311ab
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Apr 10 10:18:39 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.


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

More information about the sudo-commits mailing list