]> granicus.if.org Git - sudo/commit
Call tcgetpgrp() in the parent, not the child and have the child spin
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Oct 2009 13:46:11 +0000 (13:46 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Oct 2009 13:46:11 +0000 (13:46 +0000)
commit3ece4c837f76dd9b2bc5ccbaa8aee7de7dc3ed7b
tree07c1680d46aed3850a8606d15395ba43be5ba447
parent52f3374ce3e8f136bec894aeb25b78c5ab0457ea
Call tcgetpgrp() in the parent, not the child and have the child spin
until it is granted.  Fixes a race on darwin.
script.c