]> granicus.if.org Git - sudo/commit
Handle receipt of SIGTTIN/SIGTTOU when reading/writing from/to the tty.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Wed, 29 Nov 2017 19:06:12 +0000 (12:06 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Wed, 29 Nov 2017 19:06:12 +0000 (12:06 -0700)
commit54acf4f9918f62c8cc7a99a22d6e291051eb8bc2
tree9f100c0e7881f874c3a50bb8066b9d0a38267275
parent5ccc7ab8793571f0a93351d04883bb50512889e3
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