diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-12 16:57:14 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-12 16:57:14 +0000 |
commit | 837461bf9a8f71b96a522bf6f51d6fdcb5b2a8cd (patch) | |
tree | 8d9133b0e60ad650bf440158bb742a8af7f5c06f /sshd.c | |
parent | da394cae048e9106ad4f280c91e37ab0df2f1f97 (diff) |
- (bal) Build noop setgroups() for cygwin to clean up code (For other
platforms without the setgroups() requirement, you MUST define
SETGROUPS_NOOP in the configure.ac) Based on patch by vinschen@redhat.com
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1018,7 +1018,6 @@ main(int ac, char **av) if (test_flag) exit(0); -#ifndef HAVE_CYGWIN /* * Clear out any supplemental groups we may have inherited. This * prevents inadvertent creation of files with bad modes (in the @@ -1028,7 +1027,6 @@ main(int ac, char **av) */ if (setgroups(0, NULL) < 0) debug("setgroups() failed: %.200s", strerror(errno)); -#endif /* !HAVE_CYGWIN */ /* Initialize the log (it is reinitialized below in case we forked). */ if (debug_flag && !inetd_flag) |