[sudo-commits] sudo changeset 12388:048df2548dcc

Todd C. Miller Todd.Miller at sudo.ws
Mon May 4 11:25:47 MDT 2020


changeset:	12388:048df2548dcc in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/048df2548dcc
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon May 04 11:23:35 2020 -0600

Log Message:
	Handle EAGAIN like we do ENOMEM from poll() and select().
	On some systems, poll() and select() can return EAGAIN instead
	of ENOMEM if there is a kernel resource shortage.  In this case
	we just re-enter the event loop and retry.

diffstat:

 lib/util/event.c        |  2 +-
 lib/util/event_poll.c   |  2 +-
 lib/util/event_select.c |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


More information about the sudo-commits mailing list