From: Todd C. Miller Date: Sat, 4 Jun 2011 14:01:39 +0000 (-0400) Subject: Fix compressed io log corruption in background mode by using _exit() X-Git-Tag: SUDO_1_8_2~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f58ae7712fde255d69640e46a5d0cecb607826e3;p=sudo Fix compressed io log corruption in background mode by using _exit() 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 --- f58ae7712fde255d69640e46a5d0cecb607826e3