summaryrefslogtreecommitdiff
path: root/security/openssh/patches/patch-ag
blob: b1158792f4e846c623e8784cc05bb999e6b3b81c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ag,v 1.1 2000/01/17 05:34:35 christos Exp $

--- uidswap.c.orig	Wed Nov 24 19:55:00 1999
+++ uidswap.c	Sun Jan 16 23:48:54 2000
@@ -27,8 +27,10 @@
 #define SAVED_IDS_WORK_WITH_SETEUID
 #endif /* _POSIX_SAVED_IDS */
 
+#ifdef SAVED_IDS_WORK_WITH_SETEUID
 /* Saved effective uid. */
 static uid_t saved_euid = 0;
+#endif
 
 /*
  * Temporarily changes to the given uid.  If the effective user