[SSSD] [PATCHES] Fix severe performance problems with initgroups

Stephen Gallagher sgallagh at redhat.com
Thu Jul 29 18:30:07 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/29/2010 01:35 PM, Jakub Hrozek wrote:
> 
> +    attrs_list[1] = sysdb_new_attrs(test_ctx);
> +    sysdb_attrs_add_string(attrs_list[1], "test_attr", "attr2");
> +    attrs_list[2] = sysdb_new_attrs(test_ctx);
> +    sysdb_attrs_add_string(attrs_list[1], "nottest_attr", "attr3");
> 
> I think the second sysdb_attrs_add_string() was supposed to say
> 'attr_list[2]'?
> 
> Otherwise looks fine.
> 

Thanks, that was a typo. Corrected patch attached.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxRyK8ACgkQeiVVYja6o6P/PQCfS/yoqLo0p84U1fqcPiyUUECz
PEoAoJowO84PuBc3TQHTURCpKPvHldHh
=NjRG
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-sysdb_attrs_to_list-utility-function.patch
Type: text/x-patch
Size: 5483 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100729/c50c437f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-sysdb_attrs_to_list-utility-function.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100729/c50c437f/attachment.sig>


More information about the sssd-devel mailing list