[PATCH] nsswitch modules and libc separation
Michael Bushkov
bushman at freebsd.org
Thu Nov 2 08:22:16 UTC 2006
Hello,
During the past summer of code I've been working with nsswitch subsystem and
nss_ldap module. Unfortunately, my mentor seems to be busy or away at the
moment, so I'm stuck with reviewing and submitting my work. There are several
things that had been done during the summer of code
(http://www.freebsd.org/news/status/report-june-2006-oct-2006.html#Nss-LDAP-importing-and-nsswitch-subsystem-improvement).
I suggest, that the first thing out of these that should be committed is the
patch for nsswitch modules and libc separation.
It resides here:
http://www.rsu.ru/~bushman/soc2006/nss_libc_sep_2.diff
Shortly, the idea of this patch is to move all nsswitch modules code out from
the libc into separate shared objects. This will make nsswitch subsystem more
generic and flexible. To avoid problems with statically linked binaries,
nsswitch modules are linked into the libc.a during the build.
The detailed description of the changes made is on the wiki:
http://wikitest.freebsd.org/NsswitchModulesSeparation.
Besides these changes, patch includes some tiny changes to the nsswitch
caching implementation, which mainly address proper handling of the malloc
failures.
Please test the patch and send me your comments and suggestions. If everything
is fine, I hope I'll be able to commit it to -CURRENT soon.
--
With best regards,
Michael Bushkov
Rostov State University
More information about the freebsd-current
mailing list