[PATCH 2/3] port id to bb_getgrouplist_malloc + fixes

Tito farmatito at tiscali.it
Sun Sep 21 05:55:35 PDT 2008


Hi,
this patch:
1) ports id to bb_getgrouplist_malloc removig lots of  ifdefs for better code readability
2) fixes some cases where we returned incorrect exit codes in case of failed gid to name
    translation while printing group lists.

Denys, I know that the patch is rather big, but I was not able to make it
smaller, sorry for that.
The changes to the print_* functions where needed for fixing
the exit code error and to support euid/egid handling of patch 3.

Hints and critics are welcome.
Please apply if you like it.

Ciao,
Tito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2_id_bb_getgrouplist_and_fixes.patch
Type: text/x-diff
Size: 4534 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20080921/84e723a7/attachment.patch 


More information about the busybox mailing list