The branch, master has been updated
       via  5996b6d uwrap: Fix binding the getresgid symbol
       via  7cf902f tests: Add missing include for stdint.h
       via  f9db8bf cpack: Fix ignore files
      from  184e610 Bump version to 1.3.1

https://git.samba.org/?p=uid_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5996b6df4972f570b4e617ca4e75c2cc8dc5ff94
Author: Werner Fink <wer...@suse.de>
Date:   Thu Jul 24 10:55:31 2025 +0200

    uwrap: Fix binding the getresgid symbol
    
    Otherwise all programs using getresgid(2) will crash.
    
    Signed-off-by: Werner Fink <wer...@suse.de>
    Reviewed-by: Andreas Schneider <a...@samba.org>
    Reviewed-by: Pavel Filipenský <pfilipen...@samba.org>

commit 7cf902f2af7e779bae930d97a940b3ad031756d4
Author: Andreas Schneider <a...@samba.org>
Date:   Thu Jul 17 15:20:43 2025 +0200

    tests: Add missing include for stdint.h
    
    Signed-off-by: Andreas Schneider <a...@samba.org>
    Reviewed-by: Pavel Filipenský <pfilipen...@samba.org>

commit f9db8bf7bab37232c84fb1b04511001315cd787e
Author: Andreas Schneider <a...@samba.org>
Date:   Thu Jul 17 15:19:39 2025 +0200

    cpack: Fix ignore files
    
    Signed-off-by: Andreas Schneider <a...@samba.org>
    Reviewed-by: Pavel Filipenský <pfilipen...@samba.org>

-----------------------------------------------------------------------

Summary of changes:
 CPackConfig.cmake                 | 2 +-
 src/uid_wrapper.c                 | 2 +-
 tests/test_thread_sync_setreuid.c | 1 +
 tests/test_uwrap_disabled.c       | 1 +
 4 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/CPackConfig.cmake b/CPackConfig.cmake
index 955c8ee..c1a3373 100644
--- a/CPackConfig.cmake
+++ b/CPackConfig.cmake
@@ -16,7 +16,7 @@ set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
 
 ### source generator
 set(CPACK_SOURCE_GENERATOR "TGZ")
-set(CPACK_SOURCE_IGNORE_FILES 
"~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build*;/obj*;tags;cscope.*")
+set(CPACK_SOURCE_IGNORE_FILES 
"~$;\.swp$;\.git;\.gitignore;/\.cache/;/\.clangd/;/build*;/obj*;tags;cscope.*")
 set(CPACK_SOURCE_PACKAGE_FILE_NAME 
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
 
 if (WIN32)
diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c
index ca578e6..ecdf217 100644
--- a/src/uid_wrapper.c
+++ b/src/uid_wrapper.c
@@ -701,7 +701,7 @@ static void __uwrap_bind_symbol_all_once(void)
        uwrap_bind_symbol_libc(setresgid);
 #endif
 #ifdef HAVE_GETRESGID
-       uwrap_bind_symbol_libc(setresgid);
+       uwrap_bind_symbol_libc(getresgid);
 #endif
        uwrap_bind_symbol_libc(getegid);
        uwrap_bind_symbol_libc(getgroups);
diff --git a/tests/test_thread_sync_setreuid.c 
b/tests/test_thread_sync_setreuid.c
index 720a707..627791c 100644
--- a/tests/test_thread_sync_setreuid.c
+++ b/tests/test_thread_sync_setreuid.c
@@ -2,6 +2,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 
diff --git a/tests/test_uwrap_disabled.c b/tests/test_uwrap_disabled.c
index 52a2bf0..61a8c87 100644
--- a/tests/test_uwrap_disabled.c
+++ b/tests/test_uwrap_disabled.c
@@ -2,6 +2,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 


-- 
UID Wrapper Repository

Reply via email to