Handle setsockopt(SOL_SOCKET, SO_ATTACH_FILTER) better. Based
on patch from Guy Harris on BZ#318203.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13461 a5019735-40e9-0310-863c-91ae7b9d1cf9
Handle FIOCLEX and FIONCLEX ioctls. Patch from Ben Noordhuis. BZ#305170.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13462 a5019735-40e9-0310-863c-91ae7b9d1cf9