]> granicus.if.org Git - sudo/commit
When not logging I/O, put command in its own pgrp and make that the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 3 Jan 2012 15:06:07 +0000 (10:06 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 3 Jan 2012 15:06:07 +0000 (10:06 -0500)
commit5bc0756406c6bd666105fb3d0e7782a6891c9ac9
tree15fb1550a75a360e99d7840407e34d0741b4a559
parent7799d01cfa497804d70463c64f1494cf93190f17
When not logging I/O, put command in its own pgrp and make that the
controlling pgrp if the command is in the foreground.  Fixes a race
in the non-I/O logging path where the command may receive two
keyboard-generated signals; one from the kernel and one from the
sudo process.
src/exec.c