Skip to content

taker_group_ok(): accept empty gr_mem#9

Open
ofaaland wants to merge 1 commit into
hpc:masterfrom
ofaaland:b-empty-grmem
Open

taker_group_ok(): accept empty gr_mem#9
ofaaland wants to merge 1 commit into
hpc:masterfrom
ofaaland:b-empty-grmem

Conversation

@ofaaland

Copy link
Copy Markdown

If the site is using User Private Groups, and the site chooses not to list primary groups in the list of supplementary groups, the struct group returned by getgrnam() may have an empty gr_mem.

Accept an empty gr_mem as equivalent to a gr_mem which includes only the taker's primary group.

If the site is using User Private Groups, and the site chooses not to
list primary groups in the list of supplementary groups, the struct
group returned by getgrnam() may have an empty gr_mem.

Accept an empty gr_mem as equivalent to a gr_mem which includes only
the taker's primary 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

Successfully merging this pull request may close these issues.

1 participant