]> 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 15:28:42 +0000 (10:28 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 17 Jan 2012 15:28:42 +0000 (10:28 -0500)
commit4576f6d6fa37d8b2a8c44749717a7d0375acff08
treeedc8317bdf3406656f6fadf9b36f2cbfdf1361a4
parent0a332802203e07f8a12bd4361f28c5194cf323b2
parent2fd77381a1ea06071a439b78e342925f2c5b8fd3
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.8