Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 52) sorted by relevance

123

/systemd-251/src/basic/
Dnss-util.h16 #define NSS_GETHOSTBYNAME_PROTOTYPES(module) \ argument
17 enum nss_status _nss_##module##_gethostbyname4_r( \
23 enum nss_status _nss_##module##_gethostbyname3_r( \
31 enum nss_status _nss_##module##_gethostbyname2_r( \
37 enum nss_status _nss_##module##_gethostbyname_r( \
43 #define NSS_GETHOSTBYADDR_PROTOTYPES(module) \ argument
44 enum nss_status _nss_##module##_gethostbyaddr2_r( \
51 enum nss_status _nss_##module##_gethostbyaddr_r( \
58 #define NSS_GETHOSTBYNAME_FALLBACKS(module) \ argument
59 enum nss_status _nss_##module##_gethostbyname2_r( \
[all …]
/systemd-251/src/test/
Dtest-nss-hosts.c92 static void test_gethostbyname4_r(void *handle, const char *module, const char *name) { in test_gethostbyname4_r() argument
107 fname = strjoina("_nss_", module, "_gethostbyname4_r"); in test_gethostbyname4_r()
135 if (STR_IN_SET(module, "resolve", "mymachines") && status == NSS_STATUS_UNAVAIL) in test_gethostbyname4_r()
139 if (streq(module, "myhostname")) { in test_gethostbyname4_r()
143 …} else if (streq(module, "resolve") && getenv_bool_secure("SYSTEMD_NSS_RESOLVE_SYNTHESIZE") != 0) { in test_gethostbyname4_r()
153 static void test_gethostbyname3_r(void *handle, const char *module, const char *name, int af) { in test_gethostbyname3_r() argument
169 fname = strjoina("_nss_", module, "_gethostbyname3_r"); in test_gethostbyname3_r()
188 static void test_gethostbyname2_r(void *handle, const char *module, const char *name, int af) { in test_gethostbyname2_r() argument
198 fname = strjoina("_nss_", module, "_gethostbyname2_r"); in test_gethostbyname2_r()
216 static void test_gethostbyname_r(void *handle, const char *module, const char *name) { in test_gethostbyname_r() argument
[all …]
Dtest-nss-users.c47 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()
[all …]
Dnss-test-util.c28 void* nss_open_handle(const char *dir, const char *module, int flags) { in nss_open_handle() argument
33 path = strjoina(dir, "/libnss_", module, ".so.2"); in nss_open_handle()
35 path = strjoina("libnss_", module, ".so.2"); in nss_open_handle()
40 log_error("Failed to load module %s: %s", module, dlerror()); in nss_open_handle()
Dnss-test-util.h8 void* nss_open_handle(const char *dir, const char *module, int flags);
/systemd-251/src/shared/
Dmodule-util.c7 int module_load_and_warn(struct kmod_ctx *ctx, const char *module, bool verbose) { in module_load_and_warn() argument
16 log_debug("Loading module: %s", module); in module_load_and_warn()
18 r = kmod_module_new_from_lookup(ctx, module, &modlist); in module_load_and_warn()
21 "Failed to look up module alias '%s': %m", module); in module_load_and_warn()
26 "Failed to find module '%s'", module); in module_load_and_warn()
Delf-util.c183 Dwfl_Module *module; in frame_callback() local
198 module = sym_dwfl_addrmodule(c->dwfl, pc_adjusted); in frame_callback()
199 if (module) { in frame_callback()
203 cudie = sym_dwfl_module_addrdie(module, pc_adjusted, &bias); in frame_callback()
230 symbol = sym_dwfl_module_addrname(module, pc_adjusted); in frame_callback()
232 fname = sym_dwfl_module_info(module, NULL, &start, NULL, NULL, NULL, NULL, NULL); in frame_callback()
Dmodule-util.h12 int module_load_and_warn(struct kmod_ctx *ctx, const char *module, bool verbose);
/systemd-251/src/core/
Dkmod-setup.c94 const char *module; in kmod_setup() member
137 "this by loading the module...", kmod_table[i].module); in kmod_setup()
148 … (void) module_load_and_warn(ctx, kmod_table[i].module, kmod_table[i].warn_if_unavailable); in kmod_setup()
/systemd-251/units/
Dsys-fs-fuse-connections.mount20 # These dependencies are used to make certain that the module is fully
22 # module but the kernel sends it too early, ie before the init() of the module
Dsys-kernel-config.mount19 # These dependencies are used to make certain that the module is fully
21 # module but the kernel sends it too early, ie before the init() of the module
Dsystemd-udevd.service.in39 SystemCallFilter=@system-service @module @raw-io bpf
/systemd-251/test/units/
Dtestsuite-06.service5 Requires=load-systemd-test-module.service
6 After=load-systemd-test-module.service
/systemd-251/test/testsuite-06.units/
Dload-systemd-test-module.service3 Description=Load systemd-test module
12 ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && cd /systemd-test-module && make -f /usr/shar…
/systemd-251/test/fuzz/fuzz-udev-rules/
D60-block.rules4 ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", \
D80-drivers.rules10 SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}+="kmod load ppdev"
D99-systemd.rules71 SUBSYSTEM=="module", KERNEL=="fuse", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-fs-fuse-connections.m…
72 SUBSYSTEM=="module", KERNEL=="configfs", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-kernel-config.mou…
/systemd-251/rules.d/
D80-drivers.rules10 SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}+="kmod load ppdev"
D99-systemd.rules.in73 SUBSYSTEM=="module", KERNEL=="fuse", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-fs-fuse-connections.m…
74 SUBSYSTEM=="module", KERNEL=="configfs", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-kernel-config.mou…
D60-block.rules4 ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", \
/systemd-251/docs/
DUIDS-GIDS.md45 The `nss-systemd` glibc NSS module will synthesize user database records for
47 that any system where this module is enabled works to some minimal level
118 0xFFEF). The `nss-systemd` module will synthesize user records implicitly
146 providing an NSS module, or by adding entries directly to `/etc/passwd` and
229 race-free. Provide an NSS module that makes all UIDs you end up taking show up
230 in the user database, and make sure that the NSS module returns up-to-date
DARCHITECTURE.md88 corresponding module. While most of the tests can be run by any user, some
93 Ideally, every module in `src/basic/` and `src/shared/` should have a
/systemd-251/test/fuzz/fuzz-unit-file/
Dsystemd-machined.service32 SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap
Dsystemd-resolved.service42 SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @s…
/systemd-251/
DREADME149 devices by the kernel networking bonding module, so that the
334 "passwd:" and "group:" lines in /etc/nsswitch.conf. The "resolve" module
335 should replace the glibc "dns" module in this file (and don't worry, it
336 chain-loads the "dns" module if it can't talk to resolved).

123