Crash in gethostbyname() on congruent usage

u-uclibc-cmdy at aetey.se u-uclibc-cmdy at aetey.se
Thu Dec 13 06:45:16 UTC 2012


On Wed, Dec 12, 2012 at 09:36:53PM -0500, Rich Felker wrote:
> is how to support alternate backends for other non-DNS things NSS
> provides -- mainly the user database -- without ugly hacks like
> putting them all in the libc. The eventual solution will probably be
> some sort of proxying daemon that speaks either NSCD protocol or a
> textual protocol that's nearly identical to the /etc/passwd format.

+1

Shared libraries (as used for NSS by glibc and for similar purposes
say by pam and in many other places) are definitely a bad tool
for modularization. They make the modules a tightly bound part of
the application, sharing its address space, its credentials and its
compiler-dependent representation of data structures (in contrast to
protocol-defined one). Thankfully uClibc does not do that.

Rl



More information about the uClibc mailing list