The branch, master has been updated via 49aeafa Revert "socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supports it" via a6f95ed Revert "test_echo_tcp_socket_options.c: add tests for TCP_INFO" via f13db2b Revert "socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl()" via 22cfac3 Revert "socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRITE explicitly" via f4fc52b Merge branch 'tcp_info' into 'master' via f317ebc socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRITE explicitly via c95b7cb socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl() via a37c017 test_echo_tcp_socket_options.c: add tests for TCP_INFO via 300de6e socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supports it from bbc1d65 tests: do not truncate pid to 16 bits
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 49aeafa2c530e35a43358977766899d45a0c8b28 Author: Stefan Metzmacher <me...@samba.org> Date: Fri Jun 19 23:26:28 2020 +0200 Revert "socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supports it" This reverts commit 300de6e099ea82ee5361918de8c3abb389e0782d. This got merged automatically by gitlab without review. Signed-off-by: Stefan Metzmacher <me...@samba.org> commit a6f95ed59e2bc5a5d732738be7046e1e8422fb26 Author: Stefan Metzmacher <me...@samba.org> Date: Fri Jun 19 23:26:25 2020 +0200 Revert "test_echo_tcp_socket_options.c: add tests for TCP_INFO" This reverts commit a37c0175492fb1b35257b785c71dea4e4f6d4750. This got merged automatically by gitlab without review. Signed-off-by: Stefan Metzmacher <me...@samba.org> commit f13db2b166dd9cc0ee31b5cdffdacb34945d615a Author: Stefan Metzmacher <me...@samba.org> Date: Fri Jun 19 23:26:22 2020 +0200 Revert "socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl()" This reverts commit c95b7cb1d7b9348472276edceff71889aa676d25. This got merged automatically by gitlab without review. Signed-off-by: Stefan Metzmacher <me...@samba.org> commit 22cfac3bfca20eedbd0e3e428f085b24fb553047 Author: Stefan Metzmacher <me...@samba.org> Date: Fri Jun 19 23:25:40 2020 +0200 Revert "socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRITE explicitly" This reverts commit f317ebcdcdd626ed9e06de2eb60031306994c803. This got merged automatically by gitlab without review. Signed-off-by: Stefan Metzmacher <me...@samba.org> commit f4fc52be79edc74bd24b3ee968c5358af81b17bd Merge: bbc1d65 f317ebc Author: Stefan Metzmacher <me...@samba.org> Date: Fri Jun 19 21:07:09 2020 +0000 Merge branch 'tcp_info' into 'master' Add support for TCP_INFO and SIOCOUTQ/TIOCOUTQ/FIONWRITE See merge request cwrap/socket_wrapper!11 commit f317ebcdcdd626ed9e06de2eb60031306994c803 Author: Stefan Metzmacher <me...@samba.org> Date: Mon Jun 8 14:21:25 2020 +0200 socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRITE explicitly They are used to ask for the number of unacked bytes in the send queue, with AF_UNIX sockets get strange result, on linux 5.3 I get more bytes reported than I sent into the socket. All bytes reach the destination directly, so we can just always report 0 unacked bytes. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897 Signed-off-by: Stefan Metzmacher <me...@samba.org> commit c95b7cb1d7b9348472276edceff71889aa676d25 Author: Stefan Metzmacher <me...@samba.org> Date: Mon Jun 8 14:18:44 2020 +0200 socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl() We should only dereference the va args when the kernel already checked they are valid. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897 Signed-off-by: Stefan Metzmacher <me...@samba.org> commit a37c0175492fb1b35257b785c71dea4e4f6d4750 Author: Stefan Metzmacher <me...@samba.org> Date: Fri Jun 19 20:52:23 2020 +0200 test_echo_tcp_socket_options.c: add tests for TCP_INFO Signed-off-by: Stefan Metzmacher <me...@samba.org> commit 300de6e099ea82ee5361918de8c3abb389e0782d Author: Stefan Metzmacher <me...@samba.org> Date: Mon Jun 8 10:32:28 2020 +0200 socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supports it This just implements a few basics, which are required by Samba. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897 Signed-off-by: Stefan Metzmacher <me...@samba.org> ----------------------------------------------------------------------- Summary of changes: Changeset truncated at 500 lines: -- Socket Wrapper Repository