Date: Thu, 2 Nov 2006 12:21:53 +0400 From: Michael Bushkov <bushman@freebsd.org> To: freebsd-current@freebsd.org Subject: [PATCH] nsswitch modules and libc separation Message-ID: <200611021121.54605.bushman@freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611021121.54605.bushman>