[sudo-commits] sudo changeset 11098:5ac68f05249a
Todd C. Miller
Todd.Miller at sudo.ws
Wed Nov 29 12:08:08 MST 2017
changeset: 11098:5ac68f05249a in /raid/repos/sudo
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Nov 29 12:06:12 2017 -0700
Handle receipt of SIGTTIN/SIGTTOU when reading/writing from/to the tty.
We can't use a signal event for these since that would restart the
system call after the signal was handled and the callback would not
get a chance to run. Fixes running a command in the background that
write to the tty when the TOSTOP terminal flag is set.
src/exec_pty.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 78 insertions(+), 15 deletions(-)
More information about the sudo-commits