]> granicus.if.org Git - sudo/commit
Before exec, restore state of signal handlers to be the same as
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 22 Nov 2002 18:33:47 +0000 (18:33 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 22 Nov 2002 18:33:47 +0000 (18:33 +0000)
commitfaabf3bac71ccc86a09b75aff7f1fe0ccb9c40ca
tree5c3ba37e840db1207458e6df5a7f7a3b50cc9afe
parent4f2d87e28ce54eaa349b0a210b3428a6de3292d3
Before exec, restore state of signal handlers to be the same as
when we were initialy invoked instead of just reseting to SIG_DFL.
Fixes a problem when using sudo with nohup.  Based on a patch from
Paul Markham.
sudo.c