]> granicus.if.org Git - sudo/commitdiff
Fix compressed io log corruption in background mode by using _exit()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Jun 2011 14:01:39 +0000 (10:01 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Jun 2011 14:01:39 +0000 (10:01 -0400)
instead of exit() to avoid flushing buffers twice.

Improved background mode support.  When not allocating a pty, the
command is run in its own process group.  This prevents write access
to the tty.  When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.

--HG--
branch : 1.8


Trivial merge