[sudo-commits] sudo changeset 11101:ba6885b57891

Todd C. Miller Todd.Miller at sudo.ws
Thu Nov 30 13:34:13 MST 2017

changeset:	11101:ba6885b57891 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ba6885b57891
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Thu Nov 30 09:53:21 2017 -0700

Log Message:
	Don't loop over read/write, recv/send or tcgetpgrp/tcsetpgrp trying
	to handle EINTR.  We now use SA_RESTART with signals so this is not
	needed and is potentially dangerous if it is possible to receive
	SIGTTIN or SIGTTOU (which it currently is not).


 src/exec_monitor.c |  52 +++++++++++++++++++++++-----------------------------
 src/exec_nopty.c   |   7 ++-----
 src/exec_pty.c     |  12 ++++--------
 3 files changed, 29 insertions(+), 42 deletions(-)

More information about the sudo-commits mailing list