Split socket()'s type into two Rock fields (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 20 Jul 2015 14:17:57 +0000 (10:17 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 Jul 2015 07:05:14 +0000 (03:05 -0400)
commit027acf1842ccb7a39e3c5ea62ff7664ee761a815
treea0af618c2d550bd61e0b72cf4ed981188b1dceba
parentbb830e11ac81cb98d00a7d44e34e21852c5498dd
Split socket()'s type into two Rock fields (XCC)

The type is overloaded in Linux to include options, such as
SOCK_NONBLOCK.  Previously, if anyone was trying to open a
SOCK_NONBLOCK socket, the type detection should fail.

Rebuild glibc.
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/plan9_sockets.h
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/socket.c