Searched refs:envp (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/activate/ |
D | activate.c | 125 _cleanup_strv_free_ char **envp = NULL; in exec_process() local 139 r = strv_extend(&envp, n); in exec_process() 161 r = strv_extendf(&envp, "LISTEN_FDS=%zu", n_fds); in exec_process() 165 r = strv_extendf(&envp, "LISTEN_PID=" PID_FMT, getpid_cached()); in exec_process() 191 r = strv_consume(&envp, t); in exec_process() 198 r = strv_env_replace_strdup(&envp, *s); in exec_process() 208 execvpe(name, argv, envp); in exec_process()
|
/systemd-251/src/shared/ |
D | exec-util.c | 89 char *envp[], in do_execute() argument 121 STRV_FOREACH(e, envp) in do_execute() 199 char *envp[], in execute_directories() argument 232 r = do_execute(dirs, timeout, callbacks, callback_args, fd, argv, envp, flags); in execute_directories() 449 …ecve_or_execve(int executable_fd, const char *executable, char *const argv[], char *const envp[]) { in fexecve_or_execve() argument 460 execveat(executable_fd, "", argv, envp, AT_EMPTY_PATH); in fexecve_or_execve() 477 execve(executable, argv, envp); in fexecve_or_execve()
|
D | exec-util.h | 39 char *envp[], 50 …xecve_or_execve(int executable_fd, const char *executable, char *const argv[], char *const envp[]);
|
/systemd-251/src/basic/ |
D | missing_syscall.h | 368 char *const argv[], char *const envp[], in missing_execveat() argument 371 return syscall(__NR_execveat, dirfd, pathname, argv, envp, flags); in missing_execveat()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 3209 char *envp[] = { in inner_child() local 3451 envp[n_env++] = strjoina("container=", arg_container_service_name); in inner_child() 3453 envp[n_env] = strv_find_prefix(environ, "TERM="); in inner_child() 3454 if (envp[n_env]) in inner_child() 3458 if (asprintf(envp + n_env++, "HOME=%s", home ?: "/root") < 0) in inner_child() 3462 if (asprintf(envp + n_env++, "USER=%s", arg_user ?: "root") < 0 || in inner_child() 3463 asprintf(envp + n_env++, "LOGNAME=%s", arg_user ? arg_user : "root") < 0) in inner_child() 3468 if (asprintf(envp + n_env++, "container_uuid=%s", SD_ID128_TO_UUID_STRING(arg_uuid)) < 0) in inner_child() 3476 if ((asprintf(envp + n_env++, "LISTEN_FDS=%u", fdset_size(fds)) < 0) || in inner_child() 3477 (asprintf(envp + n_env++, "LISTEN_PID=1") < 0)) in inner_child() [all …]
|
/systemd-251/src/udev/ |
D | udev-event.c | 777 char **envp = NULL; in udev_event_spawn() local 816 r = device_get_properties_strv(event->dev, &envp); in udev_event_spawn() 835 execve(argv[0], argv, envp); in udev_event_spawn()
|