net: Fixup socket shims use of O_NONBLOCK (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 17:09:19 +0000 (13:09 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 5 Apr 2016 19:42:18 +0000 (15:42 -0400)
commit862491c4874e402840d6a8582a9027e3785291c3
tree11cd7656e47803c68421070f8596057e27a9d345
parent40a551349ae0d4f664bc27e9acda8c6bc2d277bf
net: Fixup socket shims use of O_NONBLOCK (XCC)

Chans are now nonblocking, not conversations.  We find out about the desire
for SOCK_NONBLOCK from socket()'s type argument.  We save that in the
Rock's sopts, and we check it whenever we open a chan *for that socket*
(but not for new accepts).

Rebuild glibc.

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