Skip to content
  • Tiago's avatar
    platform/redox: Support AF_UNIX in accept. · 76f07b16
    Tiago authored
    As with the previous commit, accept() was calling inner_get_name() and
    assuming only "tcp:" or "udp:" addresses would be received. Thus, in
    order to support AF_UNIX sockets, inner_get_name() was split into two,
    inner_af_inet() and inner_af_unix() - where the former keeps the
    previous logic, dealing with "tcp:" and "udp:" addresses, and the latter
    deals now with "chan:" addresses and filling in the sockaddr_un
    appropriately.
    76f07b16