-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
1 parent
16019af
commit 6aa4396
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters