Home
last modified time | relevance | path

Searched refs:p_shadow_line (Results 1 – 2 of 2) sorted by relevance

/external/selinux/policycoreutils/run_init/
Drun_init.c185 struct spwd *p_shadow_line; /* struct derived from shadow passwd file line */ in authenticate_via_shadow_passwd() local
192 p_shadow_line = getspnam(p_passwd_line->pw_name); in authenticate_via_shadow_passwd()
194 if (!(p_shadow_line)) { in authenticate_via_shadow_passwd()
211 p_shadow_line->sp_pwdp); in authenticate_via_shadow_passwd()
217 return (!strcmp(encrypted_password_s, p_shadow_line->sp_pwdp)); in authenticate_via_shadow_passwd()
/external/selinux/policycoreutils/newrole/
Dnewrole.c357 struct spwd *p_shadow_line; in authenticate_via_shadow_passwd() local
362 p_shadow_line = getspnam(uname); in authenticate_via_shadow_passwd()
364 if (!(p_shadow_line)) { in authenticate_via_shadow_passwd()
378 p_shadow_line->sp_pwdp); in authenticate_via_shadow_passwd()
380 return (!strcmp(encrypted_password_s, p_shadow_line->sp_pwdp)); in authenticate_via_shadow_passwd()