Lines Matching refs:envp
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()
3480 if (asprintf(envp + n_env++, "NOTIFY_SOCKET=%s", NSPAWN_NOTIFY_SOCKET_PATH) < 0) in inner_child()
3484 envp[n_env] = strdup("CREDENTIALS_DIRECTORY=/run/host/credentials"); in inner_child()
3485 if (!envp[n_env]) in inner_child()
3494 envp[n_env] = strdup("LANG=C.UTF-8"); in inner_child()
3495 if (!envp[n_env]) in inner_child()
3500 env_use = strv_env_merge(envp, os_release_pairs, arg_setenv); in inner_child()