]> granicus.if.org Git - sudo/commit
When not logging I/O, use a signal handler that only forwards SIGINT,
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Jan 2012 17:20:28 +0000 (12:20 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Jan 2012 17:20:28 +0000 (12:20 -0500)
commit2e965cd606a75b697745fb67e3f83b1ff1c87adc
tree7210236d3191ffa0c4d1cebf69cd968f2de6dd94
parentbea7925f2d8d20f074cdde529cd602d124058472
When not logging I/O, use a signal handler that only forwards SIGINT,
SIGQUIT and SIGHUP when they are user-generated signals.  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.

--HG--
branch : 1.7
exec.c