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

Problems with switch_user_group when multi-threaded #47

Open
ChrisGreenaway opened this issue Mar 25, 2021 · 0 comments
Open

Problems with switch_user_group when multi-threaded #47

ChrisGreenaway opened this issue Mar 25, 2021 · 0 comments

Comments

@ChrisGreenaway
Copy link

If one thread calls switch_user_group and gets a guard, a simple assumption about the API would be that the user / group will be set to the values given in the switch_user_group call whilst the guard is in scope. However, that's not true because another thread could call switch_user_group.

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

No branches or pull requests

1 participant