Searched defs:envp (Results 1 - 4 of 4) sorted by relevance

/systemd/src/libudev/
H A Dlibudev-device-private.c147 char **envp; local
152 r = device_get_properties_strv(udev_device->device, &envp);
158 return envp;
/systemd/src/activate/
H A Dactivate.c133 _cleanup_strv_free_ char **envp = NULL; local
149 envp = new0(char *, length + 8);
150 if (!envp)
162 envp[n_env++] = k;
175 envp[n_env] = strdup(n);
176 if (!envp[n_env])
190 envp[n_env] = strdup(n);
191 if (!envp[n_env])
221 if (asprintf((char**)(envp + n_env++), "LISTEN_FDS=%i", n_fds) < 0)
224 if (asprintf((char**)(envp
298 do_accept(const char* name, char **argv, char **envp, int fd) argument
464 main(int argc, char **argv, char **envp) argument
[all...]
/systemd/src/udev/
H A Dudev-event.c391 const char *cmd, char *const argv[], char **envp,
440 execve(argv[0], argv, envp);
390 spawn_exec(struct udev_event *event, const char *cmd, char *const argv[], char **envp, int fd_stdout, int fd_stderr) argument
/systemd/src/nspawn/
H A Dnspawn.c2454 const char *envp[] = { local
2559 envp[n_env++] = strjoina("container=", arg_container_service_name);
2561 envp[n_env] = strv_find_prefix(environ, "TERM=");
2562 if (envp[n_env])
2565 if ((asprintf((char**)(envp + n_env++), "HOME=%s", home ? home: "/root") < 0) ||
2566 (asprintf((char**)(envp + n_env++), "USER=%s", arg_user ? arg_user : "root") < 0) ||
2567 (asprintf((char**)(envp + n_env++), "LOGNAME=%s", arg_user ? arg_user : "root") < 0))
2573 if (asprintf((char**)(envp + n_env++), "container_uuid=%s", id128_format_as_uuid(arg_uuid, as_uuid)) < 0)
2582 if ((asprintf((char **)(envp + n_env++), "LISTEN_FDS=%u", fdset_size(fds)) < 0) ||
2583 (asprintf((char **)(envp
[all...]

Completed in 22 milliseconds