[11] New NSS module API

Florian Weimer fweimer@redhat.com
Mon Sep 16 13:59:07 GMT 2024


* Andreas K. Huettel:

>> * Replacement for the ERANGE protocol
>>   - Tremendous overhead for large DNS responses with ERANGE handling.
>>   - Idea: Introduce deallocation function
>> * Maybe: generic query function for all databases.
>> * Convey timeout information for all databases.
>
> The whole NSS module API is a bit orthogonal to static linking of course.
> Which, while definitely not the normal use case, has its moments.
>
> I'm not uptodate and vaguely remember Carlos talking about it in the past-
> are there any ideas or concrete plans on that?

We have this idea to provide a way statically linking applications in
such a way that NSS only gets you nscd support (for distributions that
still support nscd), and the service modules for dns and files.  This
way, getaddrinfo etc. would no longer need dlopen (but would have a gap
in IdM integration).

Thanks,
Florian



More information about the Libc-alpha mailing list