[SCM] UID Wrapper Repository - branch master updated
Andreas Schneider
asn at samba.org
Thu Oct 29 11:55:06 UTC 2015
The branch, master has been updated
via 4ae5073 Bump version to 1.2.0
via 625802d tests: Add checks for return values in test_thread_setreuid
from f0a2720 tests: Rename test_syscall_gid32 to test_syscall_setgroups32
https://git.samba.org/?p=uid_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4ae50736aab63bbcb6ddce6b84aa9e7228a0d531
Author: Andreas Schneider <asn at samba.org>
Date: Thu Oct 29 08:21:21 2015 +0100
Bump version to 1.2.0
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 625802d1049a2d59a61acfab52d753134a0f1fed
Author: Andreas Schneider <asn at samba.org>
Date: Thu Oct 29 08:16:32 2015 +0100
tests: Add checks for return values in test_thread_setreuid
CID #131817
Signed-off-by: Andreas Schneider <asn at samba.org>
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 6 +++---
ChangeLog | 5 +++++
tests/test_thread_setreuid.c | 2 ++
3 files changed, 10 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4ddb0a..a2c6699 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,8 +7,8 @@ cmake_minimum_required(VERSION 2.8.0)
set(APPLICATION_NAME ${PROJECT_NAME})
set(APPLICATION_VERSION_MAJOR "1")
-set(APPLICATION_VERSION_MINOR "1")
-set(APPLICATION_VERSION_PATCH "1")
+set(APPLICATION_VERSION_MINOR "2")
+set(APPLICATION_VERSION_PATCH "0")
set(APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
@@ -19,7 +19,7 @@ set(APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINO
# Increment AGE. Set REVISION to 0
# If the source code was changed, but there were no interface changes:
# Increment REVISION.
-set(LIBRARY_VERSION "0.0.4")
+set(LIBRARY_VERSION "0.0.5")
set(LIBRARY_SOVERSION "0")
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
diff --git a/ChangeLog b/ChangeLog
index 7242b20..70c659f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
ChangeLog
==========
+version 1.2.0 (released 2015-10-29)
+ * Added privilege checks for all set*uid and set*gid functions.
+ * Added a lot more and accurate tests which work as root.
+ * Fixed some minor issues
+
version 1.1.1 (released 2015-08-20)
* Fixed getres(uid|gid) detection if unsupported.
* Fixed the configure on Solaris
diff --git a/tests/test_thread_setreuid.c b/tests/test_thread_setreuid.c
index 7679a96..4b40f7b 100644
--- a/tests/test_thread_setreuid.c
+++ b/tests/test_thread_setreuid.c
@@ -49,8 +49,10 @@ static void *syscall_setreuid(void *arg)
assert_int_equal(u, eu);
rc = syscall(SYS_setreuid, -1, 0);
+ assert_return_code(rc, errno);
}
rc = syscall(SYS_setreuid, -1, 666);
+ assert_return_code(rc, errno);
return NULL;
}
--
UID Wrapper Repository
More information about the samba-cvs
mailing list