Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / openssh / patches / patch-platform.c
blobedaf10858dc51775ddf09ceccf5ffe5699cf8d1a
1 $NetBSD$
3 Interix support
5 --- platform.c.orig 2013-03-12 00:31:05.000000000 +0000
6 +++ platform.c
7 @@ -81,7 +81,9 @@ platform_privileged_uidswap(void)
8 /* uid 0 is not special on Cygwin so always try */
9 return 1;
10 #else
11 +#if !defined(HAVE_INTERIX)
12 return (getuid() == 0 || geteuid() == 0);
13 +#endif /* !HAVE_INTERIX */
14 #endif