summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sshd.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 330843618..dbd131181 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
120020521 120020521
2 - (stevesk) [sshd.c] bug 245; disable setsid() for now 2 - (stevesk) [sshd.c] bug 245; disable setsid() for now
3 - (stevesk) [sshd.c] #ifndef HAVE_CYGWIN for setgroups()
3 4
420020517 520020517
5 - (tim) [configure.ac] remove extra MD5_MSG="no" line. 6 - (tim) [configure.ac] remove extra MD5_MSG="no" line.
@@ -659,4 +660,4 @@
659 - (stevesk) entropy.c: typo in debug message 660 - (stevesk) entropy.c: typo in debug message
660 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 661 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
661 662
662$Id: ChangeLog,v 1.2136 2002/05/21 17:50:21 stevesk Exp $ 663$Id: ChangeLog,v 1.2137 2002/05/21 17:59:14 stevesk Exp $
diff --git a/sshd.c b/sshd.c
index 82520b8b0..afb872665 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1005,6 +1005,7 @@ main(int ac, char **av)
1005 if (test_flag) 1005 if (test_flag)
1006 exit(0); 1006 exit(0);
1007 1007
1008#ifndef HAVE_CYGWIN
1008 /* 1009 /*
1009 * Clear out any supplemental groups we may have inherited. This 1010 * Clear out any supplemental groups we may have inherited. This
1010 * prevents inadvertent creation of files with bad modes (in the 1011 * prevents inadvertent creation of files with bad modes (in the
@@ -1014,6 +1015,7 @@ main(int ac, char **av)
1014 */ 1015 */
1015 if (setgroups(0, NULL) < 0) 1016 if (setgroups(0, NULL) < 0)
1016 debug("setgroups() failed: %.200s", strerror(errno)); 1017 debug("setgroups() failed: %.200s", strerror(errno));
1018#endif /* !HAVE_CYGWIN */
1017 1019
1018 /* Initialize the log (it is reinitialized below in case we forked). */ 1020 /* Initialize the log (it is reinitialized below in case we forked). */
1019 if (debug_flag && !inetd_flag) 1021 if (debug_flag && !inetd_flag)