static int socket_accept(int sock)

{

    struct sockaddr_un addr;

    socklen_t addrlen;

    int ret;



    addrlen = sizeof(addr);

    do {

        ret = accept(sock, (struct sockaddr *)&addr, &addrlen);

    } while (ret == -1 && errno == EINTR);

    g_assert_no_errno(ret);

    close(sock);



    return ret;

}

static int socket_accept(int sock)

{

    struct sockaddr_un addr;

    socklen_t addrlen;

    int ret;



    addrlen = sizeof(addr);

    do {

        ret = accept(sock, (struct sockaddr *)&addr, &addrlen);

    } while (ret == -1 && errno == EINTR);

    g_assert_no_errno(ret);

    close(sock);



    return ret;

}

    g_assert_no_errno(ret);
static int FUNC_0(int VAR_0)

{

    struct sockaddr_un VAR_1;

    socklen_t addrlen;

    int VAR_2;



    addrlen = sizeof(VAR_1);

    do {

        VAR_2 = accept(VAR_0, (struct sockaddr *)&VAR_1, &addrlen);

    } while (VAR_2 == -1 && errno == EINTR);

    g_assert_no_errno(VAR_2);

    close(VAR_0);



    return VAR_2;

}

static int FUNC_0(int VAR_0)
{ struct sockaddr_un VAR_1; socklen_t addrlen; int VAR_2; addrlen = sizeof(VAR_1); do { VAR_2 = accept(VAR_0, (struct sockaddr *)&VAR_1, &addrlen); } while (VAR_2 == -1 && errno == EINTR); g_assert_no_errno(VAR_2); close(VAR_0); return VAR_2; }