Skip to content
  • Tiago's avatar
    chan: Keep path in for new Handle. · fad13404
    Tiago authored
    While supporting AF_UNIX, once an accept() is called in relibc, in turn,
    a dup() is also called with "listen". While processing this ipcd
    effectively creates a new handler, losing track of the path of the
    previous handler.
    
    However, it is important to keep this path in the newly created Handler
    as well, so the socket can be queried later by relibc (when calling
    fpath()) and fill in appropriately its sockaddr_un struct.
    fad13404