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

[V0.9] groups patch #2817

Merged
merged 3 commits into from
Oct 6, 2023
Merged

Conversation

matt335672
Copy link
Member

Back-port of first 3 commits of #2815 to v0.9

Defines the macro HAVE_GETGROUPLIST if getgrouplist() is
available, and defines the type passed to the GID array as
GETGROUPS_T
On enterprise systems, using getgrouplist() (if available)
is more efficient than iterating over the members of the group,
and is also more likely to work
This check is now performed within g_check_user_in_group()
@matt335672 matt335672 changed the title V0 9 groups patch [V0.9] groups patch Oct 6, 2023
@matt335672 matt335672 merged commit 7603c57 into neutrinolabs:v0.9 Oct 6, 2023
13 checks passed
@matt335672 matt335672 deleted the v0_9_groups_patch branch October 6, 2023 10:11
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.

1 participant