Home
last modified time | relevance | path

Searched refs:pw_shell (Results 1 – 18 of 18) sorted by relevance

/external/toybox/toys/pending/
Duseradd.c75 if (pw && pw->pw_shell && *pw->pw_shell) TT.shell = xstrdup(pw->pw_shell);
79 pwd.pw_shell = TT.shell;
121 pwd.pw_shell);
Dsulogin.c116 || (shell = pwd->pw_shell)) in sulogin_main()
Dcrontab.c290 char *prog = pwd->pw_shell; in do_edit()
/external/toybox/toys/other/
Dlogin.c151 setenv("SHELL", pwd->pw_shell, 1); in login_main()
163 execl(pwd->pw_shell, xmprintf("-%s", pwd->pw_shell), (char *)0); in login_main()
164 perror_exit("exec shell '%s'", pwd->pw_shell); in login_main()
/external/selinux/policycoreutils/newrole/
Dnewrole.c435 if (!(pw && pw->pw_name && pw->pw_name[0] && pw->pw_shell in extract_pw_data()
436 && pw->pw_shell[0] && pw->pw_dir && pw->pw_dir[0])) { in extract_pw_data()
446 pw->pw_shell = strdup(pw->pw_shell); in extract_pw_data()
448 if (!(pw->pw_name && pw->pw_dir && pw->pw_shell)) { in extract_pw_data()
453 if (verify_shell(pw->pw_shell) == 0) { in extract_pw_data()
462 free(pw->pw_shell); in extract_pw_data()
523 rc |= setenv("SHELL", pw->pw_shell, 1); in restore_environment()
1240 free(pw.pw_shell); in main()
1283 if (asprintf(&shell_argv0, "-%s", pw.pw_shell) < 0) { in main()
1329 execv(pw.pw_shell, argv + optind - 1); in main()
[all …]
/external/toybox/toys/lsb/
Dsu.c69 *(argv++) = TT.s ? TT.s : up->pw_shell; in su_main()
84 setenv("SHELL", up->pw_shell, 1); in su_main()
/external/e2fsprogs/include/nonunix/
Dpwd.h18 char *pw_shell; member
/external/curl/lib/
Dsetup-vms.h179 vms_passwd_cache.pw_shell = my_passwd->pw_shell; in vms_getpwuid()
/external/openssh/
Dauth.c164 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? in allowed_user()
165 _PATH_BSHELL : pw->pw_shell); /* empty = /bin/sh */ in allowed_user()
789 fake.pw_shell = "/nonexist"; in fakepw()
Dmisc.c226 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy()
Dsession.c829 char *shell = s->pw->pw_shell; in do_exec()
1736 shell = (pw->pw_shell[0] == '\0') ? _PATH_BSHELL : pw->pw_shell; in do_child()
Dmonitor_wrap.c276 pw->pw_shell = buffer_get_string(&m, NULL); in mm_getpwnamallow()
Dmonitor.c828 buffer_put_cstring(m, pwent->pw_shell); in mm_answer_pwnamallow()
/external/selinux/policycoreutils/sandbox/
Dseunshare.c662 if (verify_shell(pwd->pw_shell) < 0) { in main()
820 rc |= setenv("SHELL", pwd->pw_shell, 1); in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h340 char *pw_shell; member
Dsanitizer_platform_limits_posix.cc1199 CHECK_SIZE_AND_OFFSET(passwd, pw_shell);
Dsanitizer_common_interceptors.inc1291 if (pwd->pw_shell)
1292 COMMON_INTERCEPTOR_INITIALIZE_RANGE(pwd->pw_shell,
1293 REAL(strlen)(pwd->pw_shell) + 1);
/external/selinux/libsemanage/src/
Dgenhomedircon.c365 if (!semanage_list_find(shells, pwbuf->pw_shell)) in get_home_dirs()