[openssh-commits] [openssh] 03/08: upstream: keep ignoring HUP after fork+exec; ok djm
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Jul 15 15:09:04 AEST 2020
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit cd119a5ec2bf0ed5df4daff3bd14f8f7566dafd3
Author: markus at openbsd.org <markus at openbsd.org>
Date: Fri Jul 3 10:11:33 2020 +0000
upstream: keep ignoring HUP after fork+exec; ok djm
OpenBSD-Commit-ID: 7679985a84ee5ceb09839905bb6f3ddd568749a2
---
sshd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sshd.c b/sshd.c
index 85229ac8..ba01b1da 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.558 2020/07/03 10:10:17 markus Exp $ */
+/* $OpenBSD: sshd.c,v 1.559 2020/07/03 10:11:33 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2108,6 +2108,7 @@ main(int ac, char **av)
dup2(config_s[1], REEXEC_CONFIG_PASS_FD);
close(config_s[1]);
+ ssh_signal(SIGHUP, SIG_IGN); /* avoid reset to SIG_DFL */
execv(rexec_argv[0], rexec_argv);
/* Reexec has failed, fall back and continue */
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list