summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 17:39:41 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 17:39:41 +0100
commitb327c0a2da6e48256fc64ee96bcec5da81843ec6 (patch)
tree3254535886b6cc9cfcd7e8786ad0c238a9a81032 /lib
parent41e44d695872f96be77640c847181742e5a1ec5f (diff)
downloadsamba-b327c0a2da6e48256fc64ee96bcec5da81843ec6.tar.gz
samba-b327c0a2da6e48256fc64ee96bcec5da81843ec6.tar.bz2
samba-b327c0a2da6e48256fc64ee96bcec5da81843ec6.zip
Samba3: Remove more configure tests already done by libreplace.
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/replace.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index c1444cd5ee..c3b0604a2c 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -4,7 +4,7 @@
macros to go along with the lib/replace/ portability layer code
Copyright (C) Andrew Tridgell 2005
- Copyright (C) Jelmer Vernooij 2006
+ Copyright (C) Jelmer Vernooij 2006-2008
Copyright (C) Jeremy Allison 2007.
** NOTE! The following LGPL license applies to the replace
@@ -215,6 +215,14 @@ int rep_seteuid(uid_t);
int rep_setegid(gid_t);
#endif
+#if (defined(USE_SETRESUID) && !defined(HAVE_SETRESUID_DECL))
+/* stupid glibc */
+int setresuid(uid_t ruid, uid_t euid, uid_t suid);
+#endif
+#if (defined(USE_SETRESUID) && !defined(HAVE_SETRESGID_DECL))
+int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
+#endif
+
#ifndef HAVE_CHOWN
#define chown rep_chown
int rep_chown(const char *path, uid_t uid, gid_t gid);