summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2014-01-28 11:22:26 +0100
committerAndreas Schneider <asn@samba.org>2014-01-28 13:23:32 +0100
commit1462a69c0a96605081f9f1c0dc5bb54aa98aa202 (patch)
treeec785742ae300e5a791ab202c289c199469af962 /example
parent019e4f3bb6e5589ad8fe0ca0c07b197cb8cbb677 (diff)
downloadsocket_wrapper-1462a69c0a96605081f9f1c0dc5bb54aa98aa202.tar.gz
socket_wrapper-1462a69c0a96605081f9f1c0dc5bb54aa98aa202.tar.xz
socket_wrapper-1462a69c0a96605081f9f1c0dc5bb54aa98aa202.zip
src: Try to recover when sockets are closed elsewhere.
There are methods for closing descriptors (libc-internal code paths, direct syscalls) which close descriptors in ways that we can't intercept, so try to recover when we notice that that's happened: * If we see a descriptor being handed back from open() that we thought was a socket, stop intercepting uses of that descriptor. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions