Add a close callback for socket Rocks (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 22 Dec 2015 21:26:44 +0000 (16:26 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 14 Jan 2016 21:04:46 +0000 (16:04 -0500)
commit36c10230c709bcb66f424c39c52641e0b2fda1fa
tree4ffe21e6272fdf3d70722558c1bd79b3615a47c7
parent0e545035c157cff44c38e7bcff60b48411a56a37
Add a close callback for socket Rocks (XCC)

These FDs are the return value from socket().  Under the hood, they are
data FDs.  There are a bunch of things that can be cleaned up now that
we get a callback when the app closes the FD.

Rebuild glibc.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/plan9_sockets.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/plan9_sockets.h
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/socket.c