On Sunday 08 November 2009 08:57, Dan Fandrich wrote:
> On Sat, Nov 07, 2009 at 04:04:00PM -0600, Rob Landley wrote:
> > Since you asked, my thoughts are "oh please no".  Let's not open this can 
> > of 
> > worms.  Busybox is not a C library, it's not a kernel, and those are NOT 
> > OUR 
> > JOB.
> 
> I agree that we shouldn't be reimplementing gnulib, but on the other hand
> busybox is expected to run on a variety of systems.  I don't think it
> should be an issue supplying replacement functions for the handful of
> nonportable functions that have been identified.

Set CONFIG_USE_BB_PWD_GRP=y and it will be supplied by
libpwdgrp/pwd_grp.c

Alternatively, exclude the only applet, id, where getgrouplist
is used.

Any libc which has support for network and/or database storage
for users/groups will need to have getgrouplist() anyway,
since emulating it by looping through all groups
via setgrent/getgrent/endgrent may be very expensive.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to