Skip to content

tests: Fix fake uid_wrapper_syscall_valid().

Simon Josefsson requested to merge jas/socket_wrapper:jas/fix-syscall into master

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 simon@josefsson.org

Merge request reports