On Thursday 18 September 2008 02:59:36 Denys Vlasenko wrote:
> On Thursday 18 September 2008 00:20, Tito wrote:
> > Hi,
> > i'm posting a drop in replacement for id that summarizes my current progress
> > in making id SuSv3 compliant and in a working implementation of 
> > llist *bb_getgrouplist(). The latter at the moment is not using parse_config
> > stuff as in my tests in this specific case it led to bigger size, but this 
> > could be due to
> > my limited skills.
> 
> I just committed the version which uses getgrouplist() and thus should
> work even on glibc systems with LDAP-based user database etc.
> 
> Implemented getgrouplist() in libpwdgrp, so CONFIG_USE_BB_PWD_GRP=y
> works. CONFIG_USE_BB_PWD_GRP=n + uclibc doesn't work yet, uclibc
> does not have getgrouplist().
> 
> Please take a look at current svn.
> --
> vda
> 

Hi,
thanks for adding getgrouplist to libpwdgrp.
I will resync my work (tonight?) with svn and apply yours
and Vladimir's hints and prepare a series (if possible) of patches to:
1) move all the IFDEF's in bb_getgrouplist;
        a) this could then eventually be moved to libbb
        b) is it possible to use my /etc/group only version if we don't have 
getgrouplist?
        c) I would like to use llist_t as return value as it makes parsing the 
list easier and saves size.
2) add euid egid handling (for full SuSv3 compliance)
3) some minor size optimizations. 


Ciao,
TIto
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to