]> granicus.if.org Git - sudo/commit
Now that we can determine the terminal even when file descriptors
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Mar 2013 19:46:52 +0000 (15:46 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Mar 2013 19:46:52 +0000 (15:46 -0400)
commit37b4b5d15e969d83f1826e9734ae6d8a8b9c5c78
treeb30d48866809726c45109883874821307d41f3f7
parent38dac1e0a4e9208a1dc489048cfaaec20dab502d
Now that we can determine the terminal even when file descriptors
are redirected we can check user_ttypath rather than opening
/dev/tty when enforcing requiretty.
plugins/sudoers/sudoers.c