]> granicus.if.org Git - sudo/commit
Run command in its own pgrp (like the shell does) for easier signalling.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 11 Oct 2009 21:41:36 +0000 (21:41 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 11 Oct 2009 21:41:36 +0000 (21:41 +0000)
commit88b93973fe1248b64af9f661d9766dc890f05421
treef1a8768de9e019dffe5c95436d5c5292b2849569
parenta3185d3e258273f161bc92c085078df63b1af736
Run command in its own pgrp (like the shell does) for easier signalling.
No need to relay SIGINT or SIGQUIT to parent, just send to grandchild.
Don't want grandchild stopped events in the child (only termination).
Flush output after suspending grandchild before signalling parent.
script.c