]> granicus.if.org Git - sudo/commit
Linux select() may return ENOMEM if there is a kernel resource
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 23 May 2012 19:06:11 +0000 (15:06 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 23 May 2012 19:06:11 +0000 (15:06 -0400)
commitafa0a3fe86054ebe4876c2324806dd78ab1d55d4
tree29e84450da1d194aa381b2448a4c829c4ea97543
parent0b1e9989a3c04d444e4a188d6709278f364163b3
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.

--HG--
branch : 1.7
exec.c
exec_pty.c