Searched refs:environment (Results 1 - 17 of 17) sorted by relevance

/systemd/src/core/
H A Dlocale-setup.h22 int locale_setup(char ***environment);
H A Dlocale-setup.c32 int locale_setup(char ***environment) { argument
105 e = strv_env_merge(2, *environment, add);
111 strv_free(*environment);
112 *environment = e;
H A Dexecute.h98 char **environment; member in struct:ExecContext
214 char **environment; member in struct:ExecParameters
H A Dmanager.c503 /* Let's remove some environment variables that we
506 m->environment,
523 * environment for its children. It does not import
529 m->environment = strv_new("PATH=" DEFAULT_PATH,
533 locale_setup(&m->environment);
535 /* The user manager passes its own environment
537 m->environment = strv_copy(environ);
540 if (!m->environment)
544 strv_sort(m->environment);
977 strv_free(m->environment);
[all...]
H A Ddbus-execute.c644 SD_BUS_PROPERTY("Environment", "as", NULL, offsetof(ExecContext, environment), SD_BUS_VTABLE_PROPERTY_CONST),
1191 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment block.");
1198 c->environment = strv_free(c->environment);
1201 e = strv_env_merge(2, c->environment, l);
1205 strv_free(c->environment);
1206 c->environment = e;
1208 joined = strv_join_quoted(c->environment);
H A Dmanager.h146 char **environment; member in struct:Manager
H A Dexecute.c2019 params->environment,
2022 context->environment,
2098 return log_unit_error_errno(unit, r, "Failed to load environment files: %m");
2178 c->environment = strv_free(c->environment);
2288 log_unit_error(info->unit, "Ignoring invalid environment assignment '%s': %s", p, info->path);
2346 /* Log invalid environment variables with filename */
2451 STRV_FOREACH(e, c->environment)
H A Dswap.c636 exec_params.environment = UNIT(s)->manager->environment;
H A Dmount.c730 exec_params.environment = UNIT(m)->manager->environment;
H A Dsocket.c1559 exec_params.environment = UNIT(s)->manager->environment;
H A Dservice.c1260 final_env = strv_env_merge(2, UNIT(s)->manager->environment, our_env, NULL);
1286 exec_params.environment = final_env;
H A Ddbus-manager.c1335 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment assignments");
1367 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment variable names or assignments");
1403 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment variable names or assignments");
1405 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment assignments");
1924 SD_BUS_PROPERTY("Environment", "as", NULL, offsetof(Manager, environment), 0),
/systemd/xorg/
H A D50-systemd-user.sh3 systemctl --user import-environment DISPLAY XAUTHORITY
5 if which dbus-update-activation-environment >/dev/null 2>&1; then
6 dbus-update-activation-environment DISPLAY XAUTHORITY
/systemd/src/nspawn/
H A Dnspawn-settings.h57 char **environment; member in struct:Settings
H A Dnspawn-settings.c74 strv_free(s->environment);
H A Dnspawn.c251 " --setenv=NAME=VALUE Pass an environment variable to PID 1\n"
2959 settings->environment) {
2961 arg_setenv = settings->environment;
2962 settings->environment = NULL;
/systemd/test/
H A Dtest-functions331 # we want an empty environment
332 > $initdir/etc/environment

Completed in 2224 milliseconds