mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
nss: Access nss_files through direct references
This partially fixes static-only NSS support (bug 27959): The files module no longer needs dlopen. Support for the dns module remains to be added, and also support for disabling dlopen altogether. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -38,6 +38,10 @@ struct nss_module_functions
|
||||
typedef void *nss_module_functions_untyped[sizeof (struct nss_module_functions)
|
||||
/ sizeof (void *)];
|
||||
|
||||
/* Locate the nss_files functions, as if by dlopen/dlsym. */
|
||||
void __nss_files_functions (nss_module_functions_untyped pointers)
|
||||
attribute_hidden;
|
||||
|
||||
/* Initialization state of a NSS module. */
|
||||
enum nss_module_state
|
||||
{
|
||||
|
Reference in New Issue
Block a user