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 #684

Merged

Conversation

tgonzalezorlandoarm
Copy link
Member

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 and Cargo.lock

Please refer to #683 for more information on this issue and the corresponding fix options

@tgonzalezorlandoarm tgonzalezorlandoarm requested a review from a team as a code owner July 14, 2023 14:22
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 and Cargo.lock

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
Copy link
Contributor

@gowthamsk-arm gowthamsk-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@gowthamsk-arm gowthamsk-arm merged commit bb51db1 into parallaxsecond:main Jul 31, 2023
13 checks passed
@tgonzalezorlandoarm tgonzalezorlandoarm deleted the tg/remove-users-crate branch September 1, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants