Project

General

Profile

Feature #7024

Add getgrouplist() to illumos

Added by Aurélien Larcher about 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-05-31
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

A number of opensource software uses getgrouplist() but it is not part of illumos.
Several BSD implementations are used for patching software and actually an implementation already exists in illumos-gate:

https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/ssh/libopenbsd-compat/common/getgrouplist.c

This function was added in Solaris 11.2 SRU 11.2.10.5.0.

History

#1

Updated by Robert Mustacchi about 4 years ago

It looks like this can be a small wrapper around the private function _getgroupsbymember(). It shouldn't be too bad to add. If I were able to put together a prototype, would you be able to test it with a bunch of third-party software?

#2

Updated by Aurélien Larcher about 4 years ago

Hi Robert,
this would be just fine and I can try your prototype on the software for which I encountered the issue.
Kind regards,

Aurélien

#3

Updated by Aurélien Larcher over 3 years ago

Hi Robert,
I just ran today into the same issue with the OAR resource manager.
Just updating the ticket activity to keep the issue under radar.
Kind regards

Auréien

Also available in: Atom PDF