[PATCH] nsswitch: Add group merging support

Carlos O'Donell carlos@redhat.com
Sat Apr 30 02:28:00 GMT 2016


On 04/15/2016 01:02 AM, Carlos O'Donell wrote:
> OK, so this is almost about ready to checkin.
> 
> The minor nit is that this patch creates new PLT entries in libc.so.6
> and I need to determine if I can remove those with internal aliases
> (since the nscd code should have recompiled copies and not need the
> symbol).
> 

Stephen, Thank you very much for working on this project!

Checked in for 2.24.

Final version used include/grp-merge.h to remove the PLT entries from
libc.so.6, just standard operating procedure:
~~~
#ifndef _GRP_MERGE_H
#include <grp/grp-merge.h>

libc_hidden_proto (__copy_grp)
libc_hidden_proto (__merge_grp)

#endif /* _GRP_MERGE_H */
~~~
This also removes the need for `#include "grp-merge.h"` or other
forms of ""-based include (since you can now use the standard include
dirs to find the file.

commit ced8f8933673f4efda1d666d26a1a949602035ed
Author: Stephen Gallagher <sgallagh@redhat.com>
Date:   Fri Apr 29 22:11:09 2016 -0400

    NSS: Implement group merging support.
    
...

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list