Home
last modified time | relevance | path

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

/bionic/libc/include/
Dpwd.h80 char* pw_shell; member
/bionic/tests/headers/posix/
Dpwd_h.c39 STRUCT_MEMBER(struct passwd, char*, pw_shell); in pwd_h()
/bionic/libc/bionic/
Dgrp_pwd.cpp106 dst->pw_shell = buf + required_byte_count; in do_getpw_r()
107 required_byte_count += strlen(src->pw_shell) + 1; in do_getpw_r()
113 snprintf(buf, byte_count, "%s%c%s%c%s", src->pw_name, 0, src->pw_dir, 0, src->pw_shell); in do_getpw_r()
151 pw->pw_shell = state->sh_buffer_; in android_iinfo_to_passwd()
443 pw->pw_shell = state->sh_buffer_; in oem_id_to_passwd()
494 pw->pw_shell = state->sh_buffer_; in app_id_to_passwd()
Dgrp_pwd_file.cpp145 passwd_state->passwd_.pw_shell = passwd_state->sh_buffer_; in ToPasswdState()
/bionic/tests/
Dgrp_pwd_file_test.cpp51 EXPECT_STREQ(shell, name_passwd.pw_shell); in FindAndCheckPasswdEntry()
63 EXPECT_STREQ(shell, id_passwd.pw_shell); in FindAndCheckPasswdEntry()
Dgrp_pwd_test.cpp77 EXPECT_STREQ("/vendor/bin/sh", pwd->pw_shell); in check_passwd()
79 EXPECT_STREQ("/system/bin/sh", pwd->pw_shell); in check_passwd()
289 EXPECT_TRUE(nullptr != pwd->pw_shell); in TEST()