]> granicus.if.org Git - sudo/commit
Avoid setting the tty to non-blocking mode so "sudoreplay | cat"
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Jan 2015 20:07:21 +0000 (13:07 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 30 Jan 2015 20:07:21 +0000 (13:07 -0700)
commit97469c243c57d06f10ce72a38d212d4ea059f51a
tree095cb4538bb660ed88f8b053209dcc2bf43cd8e2
parent00e7dbd645b03b2af8da7850553d8412a76f6939
Avoid setting the tty to non-blocking mode so "sudoreplay | cat"
(for example) works as expected.  We only read a single byte from
the keyboard and only when interactive anyway so this should be fine.
plugins/sudoers/sudoreplay.c