Home
last modified time | relevance | path

Searched refs:envvar (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/core/
Dimport-creds.c119 static int finalize_credentials_dir(const char *dir, const char *envvar) { in finalize_credentials_dir() argument
123 assert(envvar); in finalize_credentials_dir()
133 if (setenv(envvar, dir, /* overwrite= */ true) < 0) in finalize_credentials_dir()
134 return log_error_errno(errno, "Failed to set $%s environment variable: %m", envvar); in finalize_credentials_dir()
471 static int symlink_credential_dir(const char *envvar, const char *path, const char *where) { in symlink_credential_dir() argument
474 assert(envvar); in symlink_credential_dir()
479 …RRNO(EINVAL), "String specified via $%s is not a valid absolute path, refusing: %s", envvar, path); in symlink_credential_dir()
489 return log_error_errno(r, "Failed to link $%s to %s: %m", envvar, where); in symlink_credential_dir()
/systemd-251/src/sysv-generator/
Dsysv-generator.c676 static int acquire_search_path(const char *def, const char *envvar, char ***ret) { in acquire_search_path() argument
682 assert(envvar); in acquire_search_path()
684 e = getenv(envvar); in acquire_search_path()
688 … return log_error_errno(r, "Failed to make $%s search path absolute: %m", envvar); in acquire_search_path()
/systemd-251/src/shared/
Dcreds-util.c36 static int get_credentials_dir_internal(const char *envvar, const char **ret) { in get_credentials_dir_internal() argument
41 e = secure_getenv(envvar); in get_credentials_dir_internal()