On Oct 27 23:54, Christopher Faylor wrote: > On Thu, Oct 27, 2011 at 10:11:03PM -0500, Yaakov (Cygwin/X) wrote: > >On Thu, 2011-10-27 at 10:07 +0200, Corinna Vinschen wrote: > >> Cool, thanks! You don't want to take over ruby maintainership as well, > >> do you? :} > > > >Would your adding getgrouplist(3) be a fair price? :-) > > > >http://www.kernel.org/doc/man-pages/online/pages/man3/getgrouplist.3.html > > > >I need this for an attempt to port polkit-1, and I haven't learned that > >part of the codebase yet. Deal? :-)
Deal! > I can add that tomorrow if the morning shift doesn't beat me to it. The morning shift will have a look, but here's a question, Yaakov. I assume you want the full group list, represented by the user's token if one would like to construct the token, right? If so, that requires to create a SID list by fetching the information from the local SAM and AD, quite similar to the initgroups function. On second thought, that would be practically identical to our initgroups32 function, except for the cygheap->user.groups.update_supp call, which would be replaced by filling the group list given as argument. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat