[sudo-commits] sudo changeset 8581:c042d52c7192

Todd C. Miller Todd.Miller at courtesan.com
Tue Jan 22 14:14:23 EST 2013


changeset:	8581:c042d52c7192 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/c042d52c7192
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Sat Jan 19 15:10:01 2013 -0500

Log Message:
	Remove extra flag to sudo_sigaction().  We want to trap the signal
	regardless of whether or not it is ignored by the underlying command
	since there's no way to know what signal handlers the command will
	install.  Now we just use sudo_sigaction() to set a flag in
	saved_signals[] to indicate whether a signal needs to be restored
	before exec.

diffstat:

 src/exec.c     |  28 ++++++++++++++--------------
 src/exec_pty.c |  36 ++++++++++++++++++------------------
 src/signal.c   |  37 +++++++++++++++++++++++--------------
 src/sudo.h     |   2 +-
 4 files changed, 56 insertions(+), 47 deletions(-)


More information about the sudo-commits mailing list