]> granicus.if.org Git - sudo/commit
Improved background mode support. When not allocating a pty, the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Aug 2011 15:45:09 +0000 (11:45 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Aug 2011 15:45:09 +0000 (11:45 -0400)
commitde5b6b24cd67098478f771151267d88d01a6e551
treeb81adea8acf92b32661d5dcee35de63abbe81b98
parentff6795241926fcb2f3b4a08eb485f8c43b5b99ba
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.7
exec.c
exec_pty.c
sudo_exec.h