svn commit: samba r18205 - in branches/SAMBA_4_0/source/lib/replace: .

tridge at samba.org tridge at samba.org
Thu Sep 7 07:23:58 GMT 2006


Author: tridge
Date: 2006-09-07 07:23:58 +0000 (Thu, 07 Sep 2006)
New Revision: 18205

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18205

Log:

need rep_ macros for seteuid and setegid

Modified:
   branches/SAMBA_4_0/source/lib/replace/replace.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.h	2006-09-07 07:13:35 UTC (rev 18204)
+++ branches/SAMBA_4_0/source/lib/replace/replace.h	2006-09-07 07:23:58 UTC (rev 18205)
@@ -120,6 +120,16 @@
 int rep_setenv(const char *name, const char *value, int overwrite); 
 #endif
 
+#ifndef HAVE_SETEUID
+#define seteuid rep_seteuid
+int rep_seteuid(uid_t);
+#endif
+
+#ifndef HAVE_SETEGID
+#define setegid rep_setegid
+int rep_setegid(gid_t);
+#endif
+
 #ifndef HAVE_STRCASESTR
 #define strcasestr rep_strcasestr
 char *rep_strcasestr(const char *haystack, const char *needle);



More information about the samba-cvs mailing list