[SCM] UID Wrapper Repository - branch master updated
Andreas Schneider
asn at samba.org
Thu Dec 19 00:47:42 MST 2013
The branch, master has been updated
via cf9d399 cmake: Fix HAVE_SETRESUID and HAVE_SETRESGID.
from b36c8e1 tests: Add test_uwrap_syscall_setgroups().
http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit cf9d399d9d7dbf00b0fbf3b91dd2676e83d7dcd9
Author: Andreas Schneider <asn at samba.org>
Date: Thu Dec 19 08:46:45 2013 +0100
cmake: Fix HAVE_SETRESUID and HAVE_SETRESGID.
-----------------------------------------------------------------------
Summary of changes:
ConfigureChecks.cmake | 4 ++--
tests/testsuite.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index fe0623e..77a701f 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -60,11 +60,11 @@ check_function_exists(snprintf HAVE_SNPRINTF)
check_function_exists(seteuid HAVE_SETEUID)
check_function_exists(setreuid HAVE_SETREUID)
-check_function_exists(setreuid HAVE_SETRESUID)
+check_function_exists(setresuid HAVE_SETRESUID)
check_function_exists(setegid HAVE_SETEGID)
check_function_exists(setregid HAVE_SETREGID)
-check_function_exists(setregid HAVE_SETRESGID)
+check_function_exists(setresgid HAVE_SETRESGID)
check_function_exists(getgroups HAVE_GETGROUPS)
check_function_exists(setgroups HAVE_SETGROUPS)
diff --git a/tests/testsuite.c b/tests/testsuite.c
index 412b50f..6fa8d74 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -323,7 +323,7 @@ int main(void) {
#ifdef HAVE_SETREUID
unit_test(test_uwrap_setreuid),
#endif
-#ifdef HAVE_SETREUID
+#ifdef HAVE_SETRESUID
unit_test(test_uwrap_setresuid),
#endif
unit_test(test_uwrap_setuid),
--
UID Wrapper Repository
More information about the samba-cvs
mailing list