]> andersk Git - openssh.git/blobdiff - uidswap.c
- (tim) [configure.ac] Bug #1149. Changes in QNX section only. Patch by
[openssh.git] / uidswap.c
index fa3d7a3b1116cbcc0ff0cd6caac03f06479b5759..aab7064eb16de2143ab4035b8296ee91001b2830 100644 (file)
--- a/uidswap.c
+++ b/uidswap.c
@@ -56,10 +56,12 @@ temporarily_use_uid(struct passwd *pw)
        debug("temporarily_use_uid: %u/%u (e=%u/%u)",
            (u_int)pw->pw_uid, (u_int)pw->pw_gid,
            (u_int)saved_euid, (u_int)saved_egid);
+#ifndef HAVE_CYGWIN
        if (saved_euid != 0) {
                privileged = 0;
                return;
        }
+#endif
 #else
        if (geteuid() != 0) {
                privileged = 0;
This page took 0.031394 seconds and 4 git commands to generate.