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

Remove unmaintained 'users' crate #110

Merged

Commits on Aug 8, 2023

  1. Remove unmaintained 'users' crate

    The 'users' crate is currrently being flagged as unmaintained
    in https://rustsec.org/advisories/RUSTSEC-2023-0040.html .
    It is currently only being used to get the uid of the user of a
    running process.
    
     * Replace all users::get_current_uid() calls with libc::getuid()
       calls.
     * Remove the users crate from Cargo.toml.
     * Add libc to the Cargo.toml to call libc::getuid() instead.
    
    Signed-off-by: Tomás González <[email protected]>
    tgonzalezorlandoarm committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    6aa4396 View commit details
    Browse the repository at this point in the history