Lines Matching refs:module

47 static void test_getpwnam_r(void *handle, const char *module, const char *name) {  in test_getpwnam_r()  argument
56 fname = strjoina("_nss_", module, "_getpwnam_r"); in test_getpwnam_r()
73 static void test_getgrnam_r(void *handle, const char *module, const char *name) { in test_getgrnam_r() argument
82 fname = strjoina("_nss_", module, "_getgrnam_r"); in test_getgrnam_r()
99 static void test_getpwuid_r(void *handle, const char *module, uid_t uid) { in test_getpwuid_r() argument
108 fname = strjoina("_nss_", module, "_getpwuid_r"); in test_getpwuid_r()
125 static void test_getgrgid_r(void *handle, const char *module, gid_t gid) { in test_getgrgid_r() argument
134 fname = strjoina("_nss_", module, "_getgrgid_r"); in test_getgrgid_r()
151 static void test_byname(void *handle, const char *module, const char *name) { in test_byname() argument
152 test_getpwnam_r(handle, module, name); in test_byname()
153 test_getgrnam_r(handle, module, name); in test_byname()
157 static void test_byuid(void *handle, const char *module, uid_t uid) { in test_byuid() argument
158 test_getpwuid_r(handle, module, uid); in test_byuid()
159 test_getgrgid_r(handle, module, uid); in test_byuid()
164 const char *module, in test_one_module() argument
167 log_info("======== %s ========", module); in test_one_module()
169 _cleanup_(dlclosep) void *handle = nss_open_handle(dir, module, RTLD_LAZY|RTLD_NODELETE); in test_one_module()
174 test_byname(handle, module, *name); in test_one_module()
184 test_byuid(handle, module, uid); in test_one_module()
247 STRV_FOREACH(module, modules) { in run()
248 r = test_one_module(dir, *module, names); in run()