[PATCH] xgetgrnam + addgroup race patch

Denys Vlasenko vda.linux at googlemail.com
Fri Dec 5 16:23:20 UTC 2008


On Wednesday 03 December 2008 23:59, Tito wrote:
> Hi Denys,
> this patch adds xgetgrnam to bb_pwd.c
> and fixes a race you noticed in addgroup.c
> Bloat-o-meter says:
> function                                             old     new   delta
> xgetgrnam                                              -      27     +27
> make_device                                         1238    1244      +6
> passwd_main                                         1019    1023      +4
> udhcp_send_kernel_packet                             250     253      +3
> xstrtoull_range_sfx                                  295     296      +1
> read_base64                                          251     246      -5
> decode_base64                                        271     266      -5
> addgroup_main                                        347     338      -9
> xgroup2gid                                            30       9     -21
> ------------------------------------------------------------------------------
> (add/remove: 1/0 grow/shrink: 4/4 up/down: 41/-40)              Total: 1 bytes

Applied, thanks.
--
vda



More information about the busybox mailing list