summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2014-09-24 22:18:16 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-13 15:19:30 +0200
commit5a3264396f9b167fa99fb6e375ae8b978d829a39 (patch)
tree6c9055a3b03959df3ee6fb1a045eee6256fcba90 /buildlib
parent98cc7fd2c1d397623960baf69ae3cec04a87a23e (diff)
Use setresuid() and setresgid() where available
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/config.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildlib/config.h.in b/buildlib/config.h.in
index 66ab33c2b..c6b1ee669 100644
--- a/buildlib/config.h.in
+++ b/buildlib/config.h.in
@@ -28,9 +28,11 @@
/* If there is no socklen_t, define this for the netdb shim */
#undef NEED_SOCKLEN_T_DEFINE
-/* We need the getresuid() function */
+/* Check for getresuid() function and similar ones */
#undef HAVE_GETRESUID
#undef HAVE_GETRESGID
+#undef HAVE_SETRESUID
+#undef HAVE_SETRESGID
/* Define to the size of the filesize containing structures */
#undef _FILE_OFFSET_BITS