]> granicus.if.org Git - sudo/commit
Set SIGCHLD handler to SIG_DFL before forking the askpass command
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Sep 2017 21:59:37 +0000 (15:59 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 6 Sep 2017 21:59:37 +0000 (15:59 -0600)
commit4b5aeefebc15593c1ec566168930b6da5cb22c7c
tree27b4d92ba3150561244060f04dcc73c7177ac349
parentfdff345e0fc94a4844f6c8c28c920800c3366fbd
Set SIGCHLD handler to SIG_DFL before forking the askpass command
and restore after.  Otherwise, SIGCHLD will end up in the list of
pending signals and sudo_execute() will not execute the command.
src/tgetpass.c