[sudo-users] How sudo handles signals
Todd C. Miller
Todd.Miller at courtesan.com
Fri Dec 16 17:31:21 EST 2011
I don't see that behavior myself, but from the code it seems possible
if you do not have log_output enabled.
The main sudo process forwards signals to the command it is running
which is fine in general. However, in the case of keyboard-generated
signals it may be possible for both processes to receive SIGINT and
thus for the command to get the signal twice. As I said, I don't
see that with a simple test program. Can you share the code you
are using?
- todd
More information about the sudo-users
mailing list