Searched refs:pw_shell (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/include/ |
D | pwd.h | 80 char* pw_shell; member
|
/bionic/tests/headers/posix/ |
D | pwd_h.c | 39 STRUCT_MEMBER(struct passwd, char*, pw_shell); in pwd_h()
|
/bionic/libc/bionic/ |
D | grp_pwd.cpp | 106 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()
|
D | grp_pwd_file.cpp | 145 passwd_state->passwd_.pw_shell = passwd_state->sh_buffer_; in ToPasswdState()
|
/bionic/tests/ |
D | grp_pwd_file_test.cpp | 51 EXPECT_STREQ(shell, name_passwd.pw_shell); in FindAndCheckPasswdEntry() 63 EXPECT_STREQ(shell, id_passwd.pw_shell); in FindAndCheckPasswdEntry()
|
D | grp_pwd_test.cpp | 77 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()
|