Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add os::unix::net::SocketAddr::from_path #93239

Merged
merged 5 commits into from
Jan 29, 2022
Merged

Add os::unix::net::SocketAddr::from_path #93239

merged 5 commits into from
Jan 29, 2022

Commits on Jan 23, 2022

  1. Add os::unix::net::SocketAddr::unix

    Creates a new SocketAddr from a path, supports both regular paths and
    abstract namespaces.
    Thomasdezeeuw committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    f2cdb57 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Rename SocketAddr::unix to from_path

    And change it to disallow NULL bytes.
    Thomasdezeeuw committed Jan 24, 2022
    Configuration menu
    Copy the full SHA
    c1cd200 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Make sockaddr_un safe and use copy_nonoverlapping

    The creation of libc::sockaddr_un is a safe operation, no need for it to
    be unsafe.
    
    This also uses the more performant copy_nonoverlapping instead of an
    iterator.
    Thomasdezeeuw committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    ca9a3c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4acb8ac View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Configuration menu
    Copy the full SHA
    35f578f View commit details
    Browse the repository at this point in the history