]> granicus.if.org Git - sudo/commit
Always allocate a pty when running a command in the background but
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 27 May 2011 19:59:06 +0000 (15:59 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 27 May 2011 19:59:06 +0000 (15:59 -0400)
commitb76cd2035b7527dcff891464f06fa0bc130998b9
tree809c4563bb84290d223f09a7e06b6e1634de9f1c
parentbc4070c9cfce71a40d5df25b98a83e4edad5c658
parent1b67009ca11fd66b3d31bfe399d02ecbfb2ce776
Always allocate a pty when running a command in the background but
call setsid() after forking to make sure we don't end up with a
controlling tty.

--HG--
branch : 1.8