]> granicus.if.org Git - sudo/commit
If select() return EBADF in the main event loop, one of the ttys
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Apr 2012 16:39:46 +0000 (12:39 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Apr 2012 16:39:46 +0000 (12:39 -0400)
commit6f4afc66522f12061aac63e0fdf2f44e844ba40b
tree297ee709fa5e07c62033a008d9470454114f5aad
parent2c84bd4d083bc41aabf1d05f464cd601801d383d
If select() return EBADF in the main event loop, one of the ttys
must have gone away so perform any I/O we can and close the bad
fds.
src/exec.c