The branch, master has been updated via 7af4f26 tests: Fix fake uid_wrapper_syscall_valid(). from c666ba4 tests: Define PATH_MAX for Hurd.
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 7af4f26d9d6ec1d6c4c2ec08d0c52d42d47de881 Author: Simon Josefsson <si...@josefsson.org> Date: Sat Aug 19 09:34:14 2023 +0200 tests: Fix fake uid_wrapper_syscall_valid(). We want to return errno = ENOSYS in uid_wrapper_syscall_va(). However if we do not handle __FAKE_SOCKET_WRAPPER_SYSCALL_NO+1 then we will call libc_syscall() for __FAKE_SOCKET_WRAPPER_SYSCALL_NO+1. Same problem as resolved for uid_wrapper, see: BUG: https://bugzilla.samba.org/show_bug.cgi?id=15445 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15448 Signed-off-by: Simon Josefsson <si...@josefsson.org> Reviewed-by: Andreas Schneider <a...@samba.org> Reviewed-by: Stefan Metzmacher <me...@samba.org> ----------------------------------------------------------------------- Summary of changes: tests/swrap_fake_uid_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/tests/swrap_fake_uid_wrapper.c b/tests/swrap_fake_uid_wrapper.c index 286d7ad..fc9cf46 100644 --- a/tests/swrap_fake_uid_wrapper.c +++ b/tests/swrap_fake_uid_wrapper.c @@ -23,7 +23,7 @@ /* simulate uid_wrapper hooks */ bool uid_wrapper_syscall_valid(long int sysno) { - if (sysno == __FAKE_UID_WRAPPER_SYSCALL_NO) { + if (sysno >= __FAKE_UID_WRAPPER_SYSCALL_NO) { return true; } -- Socket Wrapper Repository