net: rock: Read the connection status for getsockopt() (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 20 Dec 2017 18:30:04 +0000 (13:30 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 20 Dec 2017 18:37:08 +0000 (13:37 -0500)
commit8c8c78ef9adf647ecffe620e6c4532db2f5e5aa4
treec1b805bc0415bb8e807241ca6adfe22299c6e752
parent3b4e19f001fc06ac98c557e551fc66a7195dbeb8
net: rock: Read the connection status for getsockopt() (XCC)

Once a non-blocking connect() activates, either via select or epoll,
applications check if the connect() succeeded or not with getsockopt().
See man 2 connect for more details.

Rebuild glibc.

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