Fix socket option bug in accept() (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 2 Sep 2015 21:53:30 +0000 (17:53 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commite045710c9eea2a703da1a1cf704a784c5d9c1811
tree85552054e2928172a214385bbc42ea2588b7a440
parentd29b7b462fab89fd347f25a45ac8279e2c6d4f1b
Fix socket option bug in accept() (XCC)

We were carrying the listening socket's options through to the child.
These options include O_NONBLOCK and O_CLOEXEC.  Those are not supposed
to be inherited.  Instead the caller either does an fcntl() or uses
an accept4() shim (nonexistent at this point).

Rebuild glibc.
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/accept.c