]> granicus.if.org Git - sudo/commit
Associate the grandchild's pgrp with the tty instead of the child's
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Oct 2009 13:01:04 +0000 (13:01 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Oct 2009 13:01:04 +0000 (13:01 +0000)
commit0d04ffc40c5550ca04b9df5fde8e0aad3ab556c9
treee6fad9696279f451a047e0a89fa744455a4fdcbd
parentd72afb29a396f0d3636a6453ab6b5987968e8294
Associate the grandchild's pgrp with the tty instead of the child's
and just get suspend notifications via SIGCHLD instead of directly.
This fixes a hang with programs that try to set terminal attributes
and is more consistent with how the shell handles things.
script.c