diff options
| author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2014-01-28 11:22:26 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2014-01-28 13:23:32 +0100 |
| commit | 1462a69c0a96605081f9f1c0dc5bb54aa98aa202 (patch) | |
| tree | ec785742ae300e5a791ab202c289c199469af962 /example | |
| parent | 019e4f3bb6e5589ad8fe0ca0c07b197cb8cbb677 (diff) | |
| download | socket_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
