[SCM] Socket Wrapper Repository - annotated tag socket_wrapper-1.2.0 created

Andreas Schneider asn at samba.org
Tue Nov 13 12:58:17 UTC 2018

The annotated tag, socket_wrapper-1.2.0 has been created
        at  236e36b49e846406007ceacaf3dc130604a0775b (tag)
   tagging  ac18c80e2096f0edc542273325fb2571d35cb796 (commit)
  replaces  socket_wrapper-1.1.9
 tagged by  Andreas Schneider
        on  Tue Nov 13 13:57:58 2018 +0100

- Log -----------------------------------------------------------------

* Added threading support
* Moved to modern cmake
* Several smaller bugfixes


Andreas Schneider (64):
      swrap: Avoid double semicolons in the code
      cmake: Fix checks for attributes
      cmake: Fix configure check for fall-through attribute
      tests: Increase wait time for setup and teardown to 5ms
      cmake: Run threaded tests with helgrind
      tests: Fix resouce leak in echo_srv tcp handling
      cpack: Do not package build dirs in source tarball
      Rename COPYING to LICENSE
      Update LICENSE
      swrap: Update header
      tests: Add missing header for IPPROTO_TCP
      ctest: Move to new dashboard
      cmake: Require at least cmake 3.2.0
      tests: Update valgrind suppression file
      cmake: Don't misuse CMAKE_REQUIRED_LIBRARIES
      cmake: Write helgrind logs to stderr so we can see them
      cmake: Create an error if helgrind finds a bug
      cmake: Suppress helgrind race condition warning we created on purpose
      cmake: Update CMake defaults
      cmake: Improve checks for compiler flags
      cmake: Remove obsolete DefineCompilerFlags.cmake
      cmake: Move Compiler flags to new file
      cmake: Add CFLAGS for AddressSanitizer and UndefinedSanitizer
      cmake: Support running the tests with AddressSanitizer
      cmake: Update cmocka requirement
      cmake: Update AddCMockaTest
      cmake: Require modern cmake version
      cmake: Use target_include_directories()
      cmake: Fix checking for required system libraries
      tests: Use assert_return_code() to get errno
      swrap: Add a mutex for resetting socket index
      swrap: Don't do a deep bind if we run with libasan
      echo_srv: Do not close bogus file descriptors
      torture: Wait longer for echo_srv startup
      echo_srv: Only use 128K as buffer size instead of 4MB
      echo_srv: Check for a valid pidfile pointer
      tests: Check return code of connnect in test_echo_tcp_sendmsg_recvmsg
      tests: Check the return code of connect in test_echo_udp_sendmsg_recvmsg
      tests: Check return code of connect in test_thread_echo_tcp_sendmsg_recvmsg
      tests: Check the correct return code in test_thread_echo_tcp_write_read
      tests: Return an error if setenv() fails in test_max_sockets
      tests: Init in_addr only once in test_tcp_socket_overwrite
      gitlab-ci: Add runners and toolchain files
      gitlab-ci: Add helgrind tests
      gitlab-ci: Disable the FreeBSD runner
      cmake: Don't use string PREPEND
      swrap: Protect IPv6 case in swrap_socket()
      tests: Protect IPv6 case in echo_srv
      tests: Protect IPv6 function in setup_echo_srv_tcp_ipv6
      cmake: Create a list with required libraries
      tests: Disable failing tests as on FreeBSD
      gitlab-ci: Enable freebsd runner
      cmake: Disable stack protector on Solaris
      cmake: Only set default flags if they have been detected
      cmake: Set LINK_FLAGS for socket_wrapper
      cmake: Set LINK_FLAGS for echo_srv
      cmake: SWRAP_REQUIRED_LIBRARIES should be a list
      tests: Protect IPv6 in st_echo_tcp_get_peer_sock_name
      gitlab-ci: Add csbuild
      swrap: Rename global variable for max sockets
      swrap: Always allocate the socket fd array to the maximum
      swrap: Better handling for default values in socket_wrapper_max_sockets()
      swrap: Also log the process name
      Bump version to 1.2.0

Anoop C S (25):
      tests: Remove extra test by moving getsockname() to another
      swrap: Use helper function swrap_get_socket_info
      swrap: Use helper functions to manage refcount
      swrap: Add new routines to handle socket creation
      swrap: Use swrap_create_socket within swrap_socket
      swrap: Use swrap_create_socket within swrap_accept
      swrap: Remove swrap_first_free_index
      swrap: Rearrange swrap_close
      swrap: Rearrange swrap_remove_stale
      swrap: Implement thread safety using pthread mutexes
      tests: Modify echo server to accept multiple connections
      tests: New threaded test cases
      swrap: Update free-list only when refcount is zero
      tests: Add test case to validate free-list indexes
      swrap: Replace socket_fds linked list with an array
      swrap: Fix thread deadlock found by Coverity scan
      doc: Add SOCKET_WRAPPER_MAX_SOCKETS to manual page
      tests: Prevent child process falling to defunct state
      swrap: Add error check around pthread mutex locks
      tests: Fix -Wformat gcc warning
      tests: Avoid -Wcast-align warning
      swrap: Fix helgrind errors
      swrap: Fix coverity issues
      tests: Increase backlog count for listen() in echo_srv
      tests: Enable threaded test cases on FreeBSD

Michael Adam (8):
      swrap: Make early-libc-out more obvious by removing else
      swrap: New helper functions to treat next_free
      swrap: set errno to ENFILE if there is no more free socket_info
      swrap: Use swrap_get_socket_info inside socket_wrapper_first_free_index
      swrap: Reorder code inside swrap_socket
      swrap: Internal reorganization of core socket_info structures
      tests: Add new test to check mutex lock contention
      swrap: Move metadata into socket_info_meta structure


Socket Wrapper Repository

More information about the samba-cvs mailing list