Merged to master at b34a7f60faa0..6bcb6e04fc9b (from, to] You can see the entire diff with 'git diff' or at https://github.com/brho/akaros/compare/b34a7f60faa0...6bcb6e04fc9b
(rebuild glibc) On 2016-08-30 at 14:22 Barret Rhoden <[email protected]> wrote: > Dropbear checks SO_ERROR to see if there was a problem. We currently don't > track errors at the socket layer, but we can at least say there was no > issue. In the future, we can extend the Rock/socket shims to track recent > errors if we want. > > Rebuild glibc. > > Signed-off-by: Barret Rhoden <[email protected]> > --- > .../compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/getsockopt.c | 4 > ++++ > 1 file changed, 4 insertions(+) > > diff --git > a/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/getsockopt.c > b/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/getsockopt.c > index 63a3169442d2..536e1bd67e1d 100644 > --- a/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/getsockopt.c > +++ b/tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/getsockopt.c > @@ -18,6 +18,10 @@ static int sol_socket_gso(Rock *r, int optname, void > *optval, socklen_t *optlen) > *(int*)optval = r->stype; > *optlen = 4; > break; > + case (SO_ERROR): > + *(int*)optval = 0; > + *optlen = 4; > + break; > default: > __set_errno(ENOPROTOOPT); > return -1; -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
