]> granicus.if.org Git - sudo/commit
Save the controlling tty process group before suspending in pty
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 18 Mar 2011 14:05:25 +0000 (10:05 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 18 Mar 2011 14:05:25 +0000 (10:05 -0400)
commit1e571c9ab04884293d4c8d39f743172b04884d1c
treea215fdba6c5e4303abae12408f7fcb09e45fe034
parentd84b125f389bd1e35dcd2cc86526d22f20d67555
parent5d7889c0d7aa4b9c821592e004dc6ae1f791bc26
Save the controlling tty process group before suspending in pty
mode.  Previously, we assumed that the child pgrp == child pid
(which is usually, but not always, the case).

--HG--
branch : 1.8