summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* cmake: Define a library version for the noop libAndreas Schneider2021-03-151-2/+2
* cmake: Export cmake config for socket_wrapper_noopAndreas Schneider2021-03-151-0/+4
* cmake: Set public include dir for socket_wrapper_noop targetAndreas Schneider2021-03-151-1/+4
* cmake: Set PRIVATE for linking librariesAndreas Schneider2021-03-151-2/+4
* swrap: wrap __close_nocancel() if availableStefan Metzmacher2021-03-151-0/+33
* swrap: export a public socket_wrapper_indicate_no_inet_fd() helper functionStefan Metzmacher2021-03-153-0/+53
* swrap: introduce a socket_wrapper_noop.so and socket_wrapper.h to provide noo...Stefan Metzmacher2021-03-154-4/+157
* swrap: split out swrap_remove_wrapper() to handle swrap_close() and swrap_rem...Stefan Metzmacher2021-03-151-45/+24
* swrap: remember the libc_close() errno in swrap_close()Stefan Metzmacher2021-03-151-0/+5
* swrap: call libc_write() directly for internal fdsStefan Metzmacher2021-03-151-3/+3
* swrap: warn about unreachable addressesStefan Metzmacher2021-03-151-0/+14
* swrap: don't read the callers msg_control buffer in swrap_recvmsg_before_unix()Stefan Metzmacher2021-02-101-1/+0
* swrap: don't touch msg_tmp in swrap_recvmsg_after_unix() on errorStefan Metzmacher2021-02-091-0/+10
* swrap: fix possible memory leak between swrap_recvmsg_{before,after}_unix()Stefan Metzmacher2021-02-091-6/+20
* swrap: fix fd-passing without 4 padding bytesStefan Metzmacher2021-02-081-6/+63
* swrap: fix invalid read in swrap_sendmsg_unix_scm_rights()Stefan Metzmacher2021-02-081-1/+1
* swrap: fix copy on write leak of ~38M for every fork.Stefan Metzmacher2021-02-051-28/+31
* swrap: abort on mutex errorsStefan Metzmacher2021-02-051-0/+2
* swrap: fallback to libc_getpeername() when we get an empty sun_path from acce...Stefan Metzmacher2021-02-051-0/+27
* swrap: make swrap_accept() more resilient against races related to already di...Stefan Metzmacher2021-02-051-9/+24
* swrap: add better logging to convert_un_in()Stefan Metzmacher2021-02-051-5/+20
* swrap: add basic support for fd-passing via SCM_RIGHTSStefan Metzmacher2021-02-021-4/+755
* swrap: always check new fd's against socket_fds_max and use libc_close() for ...Stefan Metzmacher2021-02-021-7/+46
* swrap: add const to swrap_add_socket_info()Stefan Metzmacher2021-02-021-1/+1
* swrap: let swrap_sendmsg_before_unix() create a copy of msg_tmp.msg_controlStefan Metzmacher2021-02-021-0/+43
* swrap: add stubs for swrap_{sendmsg,recvmsg}_{before,after}_unix()Stefan Metzmacher2021-02-021-2/+40
* swrap: filter out SCM_{RIGHTS,CREDENTIALS} on inet socketStefan Metzmacher2021-02-021-9/+47
* swrap: add error checking/cleanup to swrap_sendmsg_filter_cmsghdr()Stefan Metzmacher2021-02-021-0/+7
* swrap: Fix MSGHDR check in sendmsg()Anoop C S2021-02-021-38/+48
* swrap: print out SOCKET_WRAPPER_PACKAGE and SOCKET_WRAPPER_VERSION on first useStefan Metzmacher2021-02-021-0/+4
* src/socket_wrapper.c: Improve checks and debug output of socket_wrapper_dir()Andreas Schneider2021-01-291-2/+3
* src/socket_wrapper.c: fix mutex fork handlingStefan Metzmacher2021-01-291-75/+89
* src/socket_wrapper.c: always go through swrap_bind_symbol_all() protected by ...Stefan Metzmacher2021-01-281-52/+55
* src/socket_wrapper.c: split out _swrap_bind_symbol_generic()Stefan Metzmacher2021-01-281-10/+6
* src/socket_wrapper.c: remove unused swrap_bind_symbol_libnsl()Stefan Metzmacher2021-01-281-14/+0
* socket_wrapper.c/tests: fall back to pragma init/fini for constructor/destruc...Björn Jacke2020-11-041-0/+7
* socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRITE expli...Stefan Metzmacher2020-06-221-0/+18
* socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl()Stefan Metzmacher2020-06-221-3/+5
* socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supports itStefan Metzmacher2020-06-221-0/+57
* swrap: Add SOCKET_WRAPPER_DIR_ALLOW_ORIG to allow fall backMartin Schwenke2020-06-221-2/+25
* swrap: Abort if socket wrapper directory is too long to be usableMartin Schwenke2020-06-221-0/+31
* swrap: Add abstractions to construct Unix domain socket pathsMartin Schwenke2020-06-221-16/+54
* swrap: Abort on failure to use SOCKET_WRAPPER_DIRMartin Schwenke2020-06-221-1/+1
* Revert "socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supp...Stefan Metzmacher2020-06-191-57/+0
* Revert "socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl()"Stefan Metzmacher2020-06-191-5/+3
* Revert "socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRI...Stefan Metzmacher2020-06-191-18/+0
* socket_wrapper.c: let swrap_vioctl() handle SIOCOUTQ/TIOCOUTQ/FIONWRITE expli...Stefan Metzmacher2020-06-191-0/+18
* socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl()Stefan Metzmacher2020-06-191-3/+5
* socket_wrapper.c: implement getsockopt(TCP_INFO) if the platform supports itStefan Metzmacher2020-06-191-0/+57
* swrap: Remove extra new line towards end of SWRAP_LOG()Anoop C S2020-05-141-20/+20