]> granicus.if.org Git - sudo/commit
Remove extra flag to sudo_sigaction(). We want to trap the signal
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 19 Jan 2013 20:10:01 +0000 (15:10 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 19 Jan 2013 20:10:01 +0000 (15:10 -0500)
commite764604485d7dd84037a2ac291ca8116e64c1c7d
tree3f013a0f83b32761d89280cff092766ebedff252
parenta06a14838f561fb737c357d30183d52396aa9f0d
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.
src/exec.c
src/exec_pty.c
src/signal.c
src/sudo.h