summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-07 07:23:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:49 -0500
commit26a3023cc8a23c949c3f85989ed9c8e7771f9303 (patch)
tree5807b24e6a1e31703df40c5a534d1d2370a4e370 /source4
parentaca4eeac43ad96c3337b1ff5c9a41cfdf4cf4144 (diff)
downloadsamba-26a3023cc8a23c949c3f85989ed9c8e7771f9303.tar.gz
samba-26a3023cc8a23c949c3f85989ed9c8e7771f9303.tar.bz2
samba-26a3023cc8a23c949c3f85989ed9c8e7771f9303.zip
r18205: need rep_ macros for seteuid and setegid
(This used to be commit dd7af58b83815620114795aa49bc30b2440bd81b)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/replace/replace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 90fd994ca5..4757046b6e 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -120,6 +120,16 @@ size_t rep_strnlen(const char *s, size_t n);
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);