Don't reset signal handlers inside handlers.
authordtucker <dtucker@openbsd.org>
Sun, 11 Feb 2018 21:16:56 +0000 (21:16 +0000)
committerdtucker <dtucker@openbsd.org>
Sun, 11 Feb 2018 21:16:56 +0000 (21:16 +0000)
commit6197b654837c0ab7e19ac6a1e307fdb73ec6b9f9
treefdb8854fdae23e0b9edcb27ca7b5b79ec2703a76
parentdf10b811071856af917eb2fdc39c020dc2b28126
Don't reset signal handlers inside handlers.

The signal handlers from the original ssh1 code on which OpenSSH
is based assume unreliable signals and reinstall their handlers.
Since OpenBSD (and pretty much every current system) has reliable
signals this is not needed.  In the unlikely even that -portable
is still being used on such systems we will deal with it in the
compat layer.  ok deraadt@
usr.bin/ssh/clientloop.c
usr.bin/ssh/serverloop.c
usr.bin/ssh/ssh.c
usr.bin/ssh/sshd.c