This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, On Mon, Dec 18, Ulrich Drepper wrote: > Thorsten Kukuk <kukuk@suse.de> writes: > > > I could use them, but struct __netgrent can only handle the case > > where you have one module in the /etc/nsswitch.conf netgroup line, > > not more. One module will overwrite the data from the previous > > module. > > If you look closely you'll see that the reason why the structure is > passed to setnetgrent is to get around the problem of having a static > buffer and also to allow multi-threaded applications. I remember that > the NIS stuff had some limitations but I think at least the > multi-threaded use should be possible. No, our SunRPC implementation is not multi-thread safe. So NIS cannot be multi-threaded, too. In the moment all NSS NIS functions have a global lock. And the argument does not solve the problem that the next module will overwrite the data from a previous module. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg Linux is like a Vorlon. It is incredibly powerful, gives terse, cryptic answers and has a lot of things going on in the background.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |