diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sshd.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,6 @@ | |||
1 | 20020521 | 1 | 20020521 |
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 | ||
4 | 20020517 | 5 | 20020517 |
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 $ |
@@ -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) |