Skip to content

Conversation

jmschonfeld
Copy link
Contributor

Explanation: Replaces uses of thread-unsafe user/group lookup functions with thread-safe versions
Scope: Impacts APIs that lookup user/group info (FileManager/ProcessInfo)
Original PR: #994
Risk: Low - behavior is well tested by unit tests
Testing: Testing done via swift-ci testing and local testing
Reviewer: @parkera

* Avoid racy stdlib functions for fetching user/group info

* Refactor naming

* Fix build failure
@jmschonfeld jmschonfeld requested a review from parkera October 23, 2024 16:21
@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit 0c90c25 into swiftlang:release/6.0 Oct 23, 2024
3 checks passed
@jmschonfeld jmschonfeld deleted the 6.0/user-group-races branch October 23, 2024 17:36
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.

2 participants