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

/systemd/src/basic/
H A Duser-util.c104 const char **shell) {
127 if (shell)
128 *shell = "/bin/sh";
169 if (shell)
170 *shell = p->pw_shell;
100 get_user_creds( const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell) argument
/systemd/src/test/
H A Dtest-unit-name.c202 _cleanup_free_ char *mid = NULL, *bid = NULL, *host = NULL, *uid = NULL, *user = NULL, *shell = NULL, *home = NULL; local
210 assert_se(get_shell(&shell) >= 0);
/systemd/src/run/
H A Drun.c995 const char *home, *shell; local
999 r = get_user_creds(&arg_exec_user, &uid, &gid, &home, &shell);
1007 r = strv_extendf(&user_env, "SHELL=%s", shell);
/systemd/src/core/
H A Dexecute.c1252 const char *shell,
1316 if (shell) {
1317 x = strappend("SHELL=", shell);
1453 const char *username = NULL, *home = NULL, *shell = NULL, *wd; local
1528 r = get_user_creds(&username, &uid, &gid, &home, &shell);
2006 r = build_environment(context, params, n_fds, home, username, shell, &our_env);
1246 build_environment( const ExecContext *c, const ExecParameters *p, unsigned n_fds, const char *home, const char *username, const char *shell, char ***ret) argument

Completed in 65 milliseconds